Created
February 5, 2021 08:44
-
-
Save jeremyje/173132cc4308db751d1cc1cd3d2213bb to your computer and use it in GitHub Desktop.
Windows Containers
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
| # kubectl apply -f https://gist.githubusercontent.com/jeremyje/173132cc4308db751d1cc1cd3d2213bb/raw/simple.yaml | |
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: windows-pod-test | |
| spec: | |
| containers: | |
| - name: windows-pod-test | |
| image: mcr.microsoft.com/windows/nanoserver:1809 | |
| command: | |
| - powershell.exe | |
| args: | |
| - -c | |
| - "while(echo $true){'sleep 30s' ; sleep 30}" | |
| nodeSelector: | |
| kubernetes.io/os: windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment