aboutsummaryrefslogtreecommitdiff
path: root/zookeeper
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-07-23 06:48:02 +0200
committerStaffan Olsson <staffan@repos.se>2017-07-23 07:00:31 +0200
commitac443a9c8dcea15b562dc49673f6722f093b41aa (patch)
tree00d3d9a83a1d31d69811e747329d5ae9867dc307 /zookeeper
parent07d895c3ee67ce0186d22479574af103c3e851ea (diff)
downloadkubernetes-kafka-ac443a9c8dcea15b562dc49673f6722f093b41aa.tar.gz
kubernetes-kafka-ac443a9c8dcea15b562dc49673f6722f093b41aa.tar.bz2
kubernetes-kafka-ac443a9c8dcea15b562dc49673f6722f093b41aa.zip
Fixes posix compatibility for probes
Diffstat (limited to 'zookeeper')
-rw-r--r--zookeeper/50pzoo.yml4
-rw-r--r--zookeeper/51zoo.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml
index e370453..f3f666b 100644
--- a/zookeeper/50pzoo.yml
+++ b/zookeeper/50pzoo.yml
@@ -66,13 +66,13 @@ spec:
command:
- /bin/sh
- -c
- - '[ "imok" == $(echo "ruok" | nc -w 1 127.0.0.1 2181) ]'
+ - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
readinessProbe:
exec:
command:
- /bin/sh
- -c
- - '[ "imok" == $(echo "ruok" | nc -w 1 127.0.0.1 2181) ]'
+ - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
volumeMounts:
- name: config
mountPath: /usr/local/kafka/config
diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml
index 2bf1be9..4319948 100644
--- a/zookeeper/51zoo.yml
+++ b/zookeeper/51zoo.yml
@@ -66,13 +66,13 @@ spec:
command:
- /bin/sh
- -c
- - '[ "imok" == $(echo "ruok" | nc -w 1 127.0.0.1 2181) ]'
+ - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
readinessProbe:
exec:
command:
- /bin/sh
- -c
- - '[ "imok" == $(echo "ruok" | nc -w 1 127.0.0.1 2181) ]'
+ - '[ "imok" = "$(echo ruok | nc -w 1 127.0.0.1 2181)" ]'
volumeMounts:
- name: config
mountPath: /usr/local/kafka/config