add redis
This commit is contained in:
12
deploy/redis/redis-sentinel-configmap.yaml
Normal file
12
deploy/redis/redis-sentinel-configmap.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: redis-sentinel-config
|
||||
namespace: redis
|
||||
data:
|
||||
sentinel.conf: |
|
||||
port 26379
|
||||
sentinel monitor mymaster redis-0.redis.grafana.svc.cluster.local 6379 2
|
||||
sentinel down-after-milliseconds mymaster 5000
|
||||
sentinel failover-timeout mymaster 10000
|
||||
sentinel parallel-syncs mymaster 1
|
||||
Reference in New Issue
Block a user