From c22bc76a9522928a2fcfb3c26f949d84901ef47c Mon Sep 17 00:00:00 2001 From: Xiang Dai <764524258@qq.com> Date: Thu, 7 Nov 2019 07:03:49 +0800 Subject: [PATCH] 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> --- incubator/zookeeper/Chart.yaml | 2 +- incubator/zookeeper/templates/config-script.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/zookeeper/Chart.yaml b/incubator/zookeeper/Chart.yaml index dc271857f3..179d2fdf3a 100644 --- a/incubator/zookeeper/Chart.yaml +++ b/incubator/zookeeper/Chart.yaml @@ -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, diff --git a/incubator/zookeeper/templates/config-script.yaml b/incubator/zookeeper/templates/config-script.yaml index 92b5c81811..10d81171a9 100644 --- a/incubator/zookeeper/templates/config-script.yaml +++ b/incubator/zookeeper/templates/config-script.yaml @@ -12,7 +12,7 @@ metadata: data: ok: | #!/bin/sh - echo ruok | nc 127.0.0.1 ${1:-2181} + zkServer.sh status ready: | #!/bin/sh