-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitd-deployment.yaml
More file actions
46 lines (46 loc) · 1.08 KB
/
gitd-deployment.yaml
File metadata and controls
46 lines (46 loc) · 1.08 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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f netpicker.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: gitd
name: gitd
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: gitd
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f netpicker.yml
kompose.version: 1.34.0 (HEAD)
labels:
io.kompose.service: gitd
spec:
containers:
- image: netpicker/gitd
livenessProbe:
exec:
command:
- echo "PING" | nc -v localhost 9419
initialDelaySeconds: 15
periodSeconds: 5
name: gitd
ports:
- containerPort: 9418
protocol: TCP
- containerPort: 9419
protocol: TCP
volumeMounts:
- mountPath: /git
name: git
restartPolicy: Always
volumes:
- name: git
persistentVolumeClaim:
claimName: git