Last active
August 29, 2018 19:51
-
-
Save jsturtevant/ecd65aa3d09cbf1386783bd028aad456 to your computer and use it in GitHub Desktop.
run-windows-pod-k8s
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
# windowsservercore | |
kubectl run windows-1803 -it --rm -n default --image microsoft/windowsservercore:1803 --image-pull-policy=IfNotPresent --restart=Never --overrides '{ "spec": {"nodeSelector":{"beta.kubernetes.io/os":"windows"}}}' --command -- cmd | |
# nanoserver | |
kubectl run windows-1803-nano -it --rm -n default --image microsoft/nanoserver:1803 --image-pull-policy=IfNotPresent --restart=Never --overrides '{ "spec": {"nodeSelector":{"beta.kubernetes.io/os":"windows"}}}' --command -- cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment