Files
virtual-kubelet/examples/busyecho.yaml
Robbie Zhang d7f97b9bfc If --taint is specified, set the taint value to empty (#322)
Add the old tolerations the examples to make it backward compatible during the switch
2018-08-15 17:44:51 -07:00

32 lines
614 B
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
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