Last active
July 2, 2020 03:20
-
-
Save jsturtevant/b9e61ee66fb2f96c0268894229423fdb to your computer and use it in GitHub Desktop.
log-gen windows container
This file contains 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: logger-1809 | |
labels: | |
app: logger-1809 | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
name: logger-1809 | |
labels: | |
app: logger-1809 | |
spec: | |
containers: | |
- command: | |
- powershell.exe | |
- -Command | |
- sleep 10; $a="1234567890"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; | |
$a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; $a="$a-$a"; | |
$a="$a-$a"; $a="$a-$a"; $a="$a-$a"; do { write-host "$(date)-$a"; sleep 0.1; | |
} until($false) | |
image: mcr.microsoft.com/windows/servercore:1809-amd64 | |
imagePullPolicy: Always | |
name: testwin | |
nodeSelector: | |
"kubernetes.io/os": windows | |
selector: | |
matchLabels: | |
app: logger-1809 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment