Badges: mount the redis persistent dir in the right place
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
af8b5836e9
commit
b963e77ab1
1 changed files with 16 additions and 1 deletions
|
@ -237,13 +237,28 @@ spec:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: "/data"
|
mountPath: "/bitnami/redis/data"
|
||||||
env:
|
env:
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: badges
|
name: badges
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command: ['redis-cli', 'ping']
|
||||||
|
failureThreshold: 3
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 5
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command: ['redis-cli', 'ping']
|
||||||
|
failureThreshold: 3
|
||||||
|
periodSeconds: 60
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 1
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue