-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployments.yaml
More file actions
executable file
·126 lines (125 loc) · 2.67 KB
/
deployments.yaml
File metadata and controls
executable file
·126 lines (125 loc) · 2.67 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
apiVersion: apps/v1
kind: Deployment
metadata:
name: agnhost-linux-deployment
namespace: default
spec:
replicas: 3
selector:
matchLabels:
app: agnhost-linux
template:
metadata:
labels:
app: agnhost-linux
name: agnhost-linux
spec:
containers:
- command:
- /agnhost
- netexec
- --http-port=8080
image: mcr.microsoft.com/aks/e2e/k8s-agnhost:2.39
imagePullPolicy: IfNotPresent
name: agnhost-linux
ports:
- containerPort: 8080
protocol: TCP
resources:
requests:
cpu: 100m
memory: 128Mi
nodeSelector:
kubernetes.io/os: linux
restartPolicy: Always
terminationGracePeriodSeconds: 30
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: toolbox-linux-deployment
spec:
replicas: 3
selector:
matchLabels:
app: toolbox-linux
template:
metadata:
labels:
app: toolbox-linux
name: toolbox-linux
spec:
containers:
- image: matmerr/toolbox:lite
imagePullPolicy: IfNotPresent
name: toolbox
nodeSelector:
kubernetes.io/os: linux
restartPolicy: Always
terminationGracePeriodSeconds: 30
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: agnhost-windows-deployment
namespace: default
spec:
replicas: 3
selector:
matchLabels:
app: agnhost-windows
template:
metadata:
labels:
app: agnhost-windows
name: agnhost-windows
spec:
containers:
- command:
- C:\agnhost
- netexec
- --http-port=8080
image: mcr.microsoft.com/aks/e2e/k8s-agnhost-windows:master.220722.3-windows-amd64
imagePullPolicy: IfNotPresent
name: agnhost-windows
ports:
- containerPort: 8080
protocol: TCP
resources:
requests:
cpu: 100m
memory: 128Mi
nodeSelector:
kubernetes.io/os: windows
restartPolicy: Always
terminationGracePeriodSeconds: 30
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: curl-windows-deployment
spec:
replicas: 3
selector:
matchLabels:
app: curl-win
template:
metadata:
labels:
app: curl-win
name: curl-win
spec:
containers:
- command:
- powershell
- Start-Sleep
- "360000"
image: mcr.microsoft.com/windows/servercore:ltsc2022
imagePullPolicy: IfNotPresent
name: curl
nodeSelector:
kubernetes.io/os: windows
restartPolicy: Always
terminationGracePeriodSeconds: 30