Skip to content

Commit

Permalink
Fixes posix compatibility for probes
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 23, 2017
1 parent 07d895c commit ac443a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions zookeeper/51zoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac443a9

Please sign in to comment.