Skip to content

Commit

Permalink
Disables liveness probe, get Unready status instead, kill manually
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Aug 5, 2017
1 parent 2cae3e4 commit 788011f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
requests:
cpu: 100m
memory: 512Mi
livenessProbe:
readinessProbe:
exec:
command:
- /bin/sh
Expand Down
12 changes: 6 additions & 6 deletions zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ spec:
requests:
cpu: 10m
memory: 100Mi
livenessProbe:
exec:
command:
- /bin/sh
- -c
- '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
# livenessProbe:
# exec:
# command:
# - /bin/sh
# - -c
# - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
readinessProbe:
exec:
command:
Expand Down
12 changes: 6 additions & 6 deletions zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ spec:
requests:
cpu: 10m
memory: 100Mi
livenessProbe:
exec:
command:
- /bin/sh
- -c
- '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
# livenessProbe:
# exec:
# command:
# - /bin/sh
# - -c
# - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
readinessProbe:
exec:
command:
Expand Down

0 comments on commit 788011f

Please sign in to comment.