Created
January 23, 2021 01:39
-
-
Save anfernee/9c3cfe9455b2d315b2a21b60c9752087 to your computer and use it in GitHub Desktop.
Useful k8s yamls
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: windows-powershell | |
labels: | |
app: windows-powershell | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: windows-powershell | |
template: | |
metadata: | |
labels: | |
app: windows-powershell | |
spec: | |
nodeSelector: | |
kubernetes.io/os: windows | |
containers: | |
- name: test | |
command: | |
- powershell.exe | |
- -command | |
- "while ($true) { Start-Sleep -Seconds 10; }" | |
# image: stefanscherer/curl-windows:latest | |
image: mcr.microsoft.com/windows/servercore:ltsc2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment