From 1f4321ea7c7431f0c90f39e794c86a4363e81f3f Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 5 Aug 2017 07:22:23 +0200 Subject: 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. --- zookeeper/50pzoo.yml | 6 ------ zookeeper/51zoo.yml | 6 ------ 2 files changed, 12 deletions(-) (limited to 'zookeeper') diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml index f9d5c58..7fd373c 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -43,12 +43,6 @@ spec: requests: cpu: 10m memory: 100Mi - 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 778567d..f5d1f91 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -46,12 +46,6 @@ spec: requests: cpu: 10m memory: 100Mi - livenessProbe: - exec: - command: - - /bin/sh - - -c - - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]' readinessProbe: exec: command: -- cgit v1.2.3