Created
March 3, 2019 15:58
-
-
Save Pothulapati/7a23d43fde0c64aabed9be51b348df28 to your computer and use it in GitHub Desktop.
examples/busyecho.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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