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
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "/data"
|
||||
mountPath: "/bitnami/redis/data"
|
||||
env:
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: badges
|
||||
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:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue