improved readiness probe for redis cart

This commit is contained in:
Daniel Sanche 2020-01-22 11:33:35 -08:00
parent 53f2528094
commit bf9e29fbba

View file

@ -31,9 +31,11 @@ spec:
ports:
- containerPort: 6379
readinessProbe:
periodSeconds: 5
tcpSocket:
port: 6379
exec:
command:
- sh
- -c
- "redis-cli -h $(hostname) ping"
livenessProbe:
periodSeconds: 5
tcpSocket: