Skip to content

Commit 1f4321e

Browse files
committed
We prefer Ready:False status instead of restarted pods,
at least for now, as it allows exec into the pods to investigate. We've been having frequent restarts that are not due to OOMKilled (i.e. not #49). Now failed probes will lead to unready pods, which we can monitor for using #60.
1 parent 723c514 commit 1f4321e

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

50kafka.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
requests:
4949
cpu: 100m
5050
memory: 512Mi
51-
livenessProbe:
51+
readinessProbe:
5252
exec:
5353
command:
5454
- /bin/sh

zookeeper/50pzoo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ spec:
4343
requests:
4444
cpu: 10m
4545
memory: 100Mi
46-
livenessProbe:
47-
exec:
48-
command:
49-
- /bin/sh
50-
- -c
51-
- '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
5246
readinessProbe:
5347
exec:
5448
command:

zookeeper/51zoo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ spec:
4646
requests:
4747
cpu: 10m
4848
memory: 100Mi
49-
livenessProbe:
50-
exec:
51-
command:
52-
- /bin/sh
53-
- -c
54-
- '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
5549
readinessProbe:
5650
exec:
5751
command:

0 commit comments

Comments
 (0)