Files
virtual-kubelet/examples/nanoserver.yaml
2018-04-24 09:40:10 -07:00

18 lines
448 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
nodeName: virtual-kubelet-myaciconnector-win
automountServiceAccountToken: false
tolerations:
- key: azure.com/aci
effect: NoSchedule