Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Pothulapati/7a23d43fde0c64aabed9be51b348df28 to your computer and use it in GitHub Desktop.
Save Pothulapati/7a23d43fde0c64aabed9be51b348df28 to your computer and use it in GitHub Desktop.
examples/busyecho.yaml
apiVersion: v1
kind: Pod
metadata:
name: busyecho
spec:
containers:
- image: busybox
command:
- echo "Hello from container"
imagePullPolicy: Always
name: nginx
resources:
requests:
memory: 1G
cpu: 1
env:
- name: MYENV
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 443
name: https
dnsPolicy: ClusterFirst
nodeSelector:
kubernetes.io/role: agent
beta.kubernetes.io/os: linux
type: virtual-kubelet
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
- key: azure.com/aci
effect: NoSchedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment