-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path10-murmur-deployment.yaml
62 lines (62 loc) · 1.49 KB
/
10-murmur-deployment.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
59
60
61
62
apiVersion: apps/v1
kind: Deployment
metadata:
name: murmur-deployment
labels:
app: murmur
spec:
selector:
matchLabels:
app: murmur
template:
metadata:
labels:
app: murmur
spec:
containers:
- image: yhaenggi/murmur:1.4.287
imagePullPolicy: Always
name: murmur-container
stdin: true
tty: true
ports:
# gRPC
- containerPort: 50051
# UDP/TCP murmur
- containerPort: 64738
readinessProbe:
tcpSocket:
port: 64738
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 64738
initialDelaySeconds: 300
periodSeconds: 10
volumeMounts:
- mountPath: /home/murmur/.murmur
name: murmur-folder
- mountPath: /home/murmur/.murmur/ssl
name: murmur-ssl
- mountPath: /home/murmur/.murmur/db
name: murmur-db
- mountPath: /home/murmur/.murmur/murmur.ini
name: murmur-config
subPath: murmur.ini
securityContext:
runAsUser: 911
readOnlyRootFilesystem: true
runAsNonRoot: true
volumes:
- name: murmur-folder
emptyDir: {}
- name: murmur-ssl
secret:
secretName: murmur-ssl
- name: murmur-db
persistentVolumeClaim:
claimName: murmur-db
- name: murmur-config
configMap:
name: murmur-config