Skip to content

Commit 788011f

Browse files
committed
Disables liveness probe, get Unready status instead, kill manually
1 parent 2cae3e4 commit 788011f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

50kafka.yml

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

zookeeper/50pzoo.yml

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

zookeeper/51zoo.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ spec:
5050
requests:
5151
cpu: 10m
5252
memory: 100Mi
53-
livenessProbe:
54-
exec:
55-
command:
56-
- /bin/sh
57-
- -c
58-
- '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
53+
# livenessProbe:
54+
# exec:
55+
# command:
56+
# - /bin/sh
57+
# - -c
58+
# - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
5959
readinessProbe:
6060
exec:
6161
command:

0 commit comments

Comments
 (0)