mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
kubernetes: add volume mountpoint to pod definitions
This commit is contained in:
parent
e920a82551
commit
734cfba0e0
@ -105,9 +105,15 @@ spec:
|
||||
- name: ssh
|
||||
containerPort: 22
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /home/git/data
|
||||
name: data
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 300
|
||||
timeoutSeconds: 1
|
||||
volumes:
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
||||
@ -26,8 +26,14 @@ spec:
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql
|
||||
name: data
|
||||
livenessProbe:
|
||||
TCPSocket:
|
||||
port: 5432
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
volumes:
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
||||
@ -19,8 +19,14 @@ spec:
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/redis
|
||||
name: data
|
||||
livenessProbe:
|
||||
TCPSocket:
|
||||
port: 6379
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
volumes:
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user