Last active
October 20, 2020 18:32
-
-
Save marosset/ad8a9769bdbaa5229fb67cf249e2c1ff to your computer and use it in GitHub Desktop.
Windows Server 2019 pod specs
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: v1 | |
kind: Pod | |
metadata: | |
name: busybox | |
spec: | |
containers: | |
- name: busybox | |
image: e2eteam/busybox:1.29 | |
command: | |
- sleep | |
- "3600" | |
nodeSelector: | |
"kubernetes.io/os": windows |
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: iis-2019-burn-cpu | |
labels: | |
app: iis-2019-burn-cpu | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
name: iis-2019 | |
labels: | |
app: iis-2019 | |
spec: | |
containers: | |
- name: iis | |
image: mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019 | |
command: | |
- powershell.exe | |
- "-command" | |
- "$result = 1; foreach ($number in 1..2147483647) {$result = $result * $number};" | |
resources: | |
limits: | |
cpu: .25 | |
memory: 800m | |
requests: | |
cpu: .25 | |
memory: 300m | |
ports: | |
- containerPort: 80 | |
nodeSelector: | |
"kubernetes.io/os": windows | |
selector: | |
matchLabels: | |
app: iis-2019 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: iis | |
spec: | |
type: LoadBalancer | |
ports: | |
- protocol: TCP | |
port: 80 | |
selector: | |
app: iis-2019 |
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: iis-2019 | |
labels: | |
app: iis-2019 | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
name: iis-2019 | |
labels: | |
app: iis-2019 | |
spec: | |
containers: | |
- name: iis | |
image: mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019 | |
resources: | |
limits: | |
cpu: 1 | |
memory: 800m | |
requests: | |
cpu: .1 | |
memory: 300m | |
ports: | |
- containerPort: 80 | |
initContainers: | |
- name: init | |
image: hello-world | |
nodeSelector: | |
"kubernetes.io/os": windows | |
selector: | |
matchLabels: | |
app: iis-2019 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: iis | |
spec: | |
type: LoadBalancer | |
ports: | |
- protocol: TCP | |
port: 80 | |
selector: | |
app: iis-2019 |
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: iis-2019 | |
labels: | |
app: iis-2019 | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
name: iis-2019 | |
labels: | |
app: iis-2019 | |
spec: | |
containers: | |
- name: iis | |
image: mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019 | |
resources: | |
limits: | |
cpu: 1 | |
memory: 800m | |
requests: | |
cpu: .1 | |
memory: 300m | |
ports: | |
- containerPort: 80 | |
nodeSelector: | |
"kubernetes.io/os": windows | |
selector: | |
matchLabels: | |
app: iis-2019 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: iis | |
spec: | |
type: LoadBalancer | |
ports: | |
- protocol: TCP | |
port: 80 | |
selector: | |
app: iis-2019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment