cleaned readiness probe

This commit is contained in:
Daniel Sanche 2020-01-22 11:47:33 -08:00
parent 8d269f3736
commit a07cf7b117

View file

@ -32,10 +32,7 @@ spec:
- containerPort: 6379 - containerPort: 6379
readinessProbe: readinessProbe:
exec: exec:
command: command: ['/bin/sh', '-c', 'redis-cli -h $(hostname) ping']
- sh
- -c
- "redis-cli -h $(hostname) ping"
livenessProbe: livenessProbe:
periodSeconds: 5 periodSeconds: 5
tcpSocket: tcpSocket: