Skip to content

Commit c376e5c

Browse files
committed
(k8s) Add probe to check readiness of redis too
Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent 7df1fbd commit c376e5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kube/aks/api.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ spec:
2323
- name: wait-for-mongo
2424
image: busybox
2525
command: ["sh", "-c", "until nc -z mongo.kernelci-api.svc.cluster.local 27017; do echo waiting for mongo; sleep 2; done"]
26+
- name: wait-for-redis
27+
image: busybox
28+
command: ["sh", "-c", "until nc -z redis.kernelci-api.svc.cluster.local 6379; do echo waiting for redis; sleep 2; done"]
2629
containers:
2730
- name: api
2831
image: kernelci/kernelci:api

0 commit comments

Comments
 (0)