-
Notifications
You must be signed in to change notification settings - Fork 0
/
thunder-c-520.yaml
57 lines (56 loc) · 1.44 KB
/
thunder-c-520.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: thunder-c-520
spec:
selector:
matchLabels:
app: thunder-c-520
replicas: 1
template:
metadata:
labels:
app: thunder-c-520
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "443"
prometheus.io/path: "/metrics"
k8s.v1.cni.cncf.io/networks: data-in, data-out
spec:
containers:
- name: thunder-c-520
image: 10.47.1.30:5000/acos_docker_5_2_0-p1_31:latest
imagePullPolicy: IfNotPresent
env:
- name: ACOS_CTH_SUPPORT_MGMT
value: "y"
- name: ACOS_CTH_SUPPORT_VETH
value: "y"
- name: ACOS_CTH_PRODUCT
value: "ADC"
- name: ACOS_CTH_VETH_DRIVER_LST
value: "veth,macvlan"
resources:
requests:
memory: 4Gi
cpu: "2"
limits:
memory: 4Gi
cpu: "4"
ports:
- containerPort: 80
- containerPort: 22
- containerPort: 443
securityContext:
privileged: true
runAsUser: 0
capabilities:
add: ["SYS_ADMIN", "NET_ADMIN","IPC_LOCK"]
startupProbe:
exec:
command:
- cat
- /var/run/alb.done
initialDelaySeconds: 300
periodSeconds: 30
failureThreshold: 30