From 788011f7c8e3c307c44fff5108a6c61b389cbf94 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 5 Aug 2017 07:22:23 +0200 Subject: [PATCH] Disables liveness probe, get Unready status instead, kill manually --- 50kafka.yml | 2 +- zookeeper/50pzoo.yml | 12 ++++++------ zookeeper/51zoo.yml | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/50kafka.yml b/50kafka.yml index ea100bf7..f0524975 100644 --- a/50kafka.yml +++ b/50kafka.yml @@ -47,7 +47,7 @@ spec: requests: cpu: 100m memory: 512Mi - livenessProbe: + readinessProbe: exec: command: - /bin/sh diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml index cc68604b..6724c3cb 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -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: diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index 8b0e313b..403fa4bb 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -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: