Files
virtual-kubelet/examples/nanoserver.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

23 lines
566 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: nano
spec:
containers:
- image: microsoft/nanoserver:latest
imagePullPolicy: Always
command: ["powershell.exe", "-Command", "while ($true) { Sleep 5; Write-Host 'helloworld' }"]
name: nanoserver
dnsPolicy: Default
restartPolicy: OnFailure
nodeSelector:
kubernetes.io/role: agent
beta.kubernetes.io/os: windows
type: virtual-kubelet
automountServiceAccountToken: false
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
- key: azure.com/aci
effect: NoSchedule