Use better way to check ready (#17816)

* update ready script

Signed-off-by: Xiang Dai <764524258@qq.com>

* update script

Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
Xiang Dai
2019-11-06 15:03:49 -08:00
committed by Kubernetes Prow Robot
parent 3d913a59f9
commit c22bc76a95
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: zookeeper
home: https://zookeeper.apache.org/
version: 2.1.0
version: 2.1.1
appVersion: 3.5.5
kubeVersion: "^1.10.0-0"
description: Centralized service for maintaining configuration information, naming,
@@ -12,7 +12,7 @@ metadata:
data:
ok: |
#!/bin/sh
echo ruok | nc 127.0.0.1 ${1:-2181}
zkServer.sh status
ready: |
#!/bin/sh