Update to redis:6.2.3-alpine

This commit is contained in:
Nicklas Sörensen 2021-05-11 07:59:35 +02:00
parent d64c813018
commit cacdf5dc55
2 changed files with 7 additions and 6 deletions

View File

@ -15,7 +15,7 @@ spec:
spec:
initContainers:
- name: config
image: redis:6.0-alpine
image: redis:6.2.3-alpine
command: [ "sh", "-c" ]
args:
- |
@ -45,7 +45,7 @@ spec:
mountPath: /tmp/redis/
containers:
- name: redis
image: redis:6.0-alpine
image: redis:6.2.3-alpine
command: ["redis-server"]
args: ["/etc/redis/redis.conf"]
ports:

View File

@ -15,7 +15,7 @@ spec:
spec:
initContainers:
- name: config
image: redis:6.0-alpine
image: redis:6.2.3-alpine
command: [ "sh", "-c" ]
args:
- |
@ -35,8 +35,9 @@ spec:
fi
done
echo "sentinel monitor mymaster $MASTER 6379 2" >> /tmp/master
echo "port 5000
sentinel resolve-hostnames yes
sentinel announce-hostnames yes
$(cat /tmp/master)
sentinel down-after-milliseconds mymaster 5000
sentinel failover-timeout mymaster 60000
@ -49,7 +50,7 @@ spec:
mountPath: /etc/redis/
containers:
- name: sentinel
image: redis:6.0-alpine
image: redis:6.2.3-alpine
command: ["redis-sentinel"]
args: ["/etc/redis/sentinel.conf"]
ports: