forked from merbridge/merbridge
-
Notifications
You must be signed in to change notification settings - Fork 2
/
hot-restart-fd-server.yaml
58 lines (58 loc) · 1.34 KB
/
hot-restart-fd-server.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
57
58
# Source: merbridge/templates/daemonset.yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: merbridge
namespace: istio-system
labels:
app: merbridge
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
app: merbridge
template:
metadata:
labels:
app: merbridge
spec:
hostNetwork: true
containers:
- image: "ghcr.io/merbridge/merbridge:latest"
imagePullPolicy: Always
name: merbridge
args:
- /app/merbridge-fd-back
resources:
requests:
cpu: 100m
memory: 200Mi
limits:
cpu: 300m
memory: 200Mi
securityContext:
privileged: true
volumeMounts:
- mountPath: /tmp
name: tmp-dir
- mountPath: /host/var/run
name: host-var-run
mountPropagation: Bidirectional
dnsPolicy: ClusterFirst
nodeSelector:
kubernetes.io/os: linux
priorityClassName: system-node-critical
restartPolicy: Always
serviceAccount: merbridge
serviceAccountName: merbridge
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- operator: Exists
volumes:
- hostPath:
path: /proc
name: host-proc
- hostPath:
path: /tmp
name: tmp-dir