-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhp-deploy.yaml
More file actions
45 lines (45 loc) · 972 Bytes
/
hp-deploy.yaml
File metadata and controls
45 lines (45 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: apps/v1
kind: Deployment
metadata:
name: windows-deployment
labels:
app: win
spec:
replicas: 1
template:
metadata:
name: windows-pod
labels:
app: win
spec:
nodeSelector:
"beta.kubernetes.io/os": windows
securityContext:
windowsOptions:
hostProcess: true
runAsUserName: "NT AUTHORITY\\Local service"
hostNetwork: true
containers:
- name: aspnetapp-container
image: mcr.microsoft.com/windows/nanoserver:1809
command: ["powershell"]
args: ["sleep", "5000"]
volumeMounts:
- mountPath: /host
name: host
resources:
limits:
cpu: 1
memory: 800M
requests:
cpu: .1
memory: 300M
ports:
- containerPort: 8080
volumes:
- name: host
hostPath:
path: /
selector:
matchLabels:
app: win