title: Deploying zookeeper from Bitnami Helm chart
body: <p>We are using Zookeeper Bitnami chart for creating a vmware carvel package, firstly I tried deploying helm chart, but pod was pending, I got the below output. But how does I install <strong>zkCli.sh</strong>
  I want to test the ouput but i am unable to understand How to install <strong>zkCli.sh</strong></p>
  <p>$ helm install zookeeper bitnami/zookeeper
  NAME: zookeeper
  LAST DEPLOYED: Wed Apr 20 13:33:03 2022
  NAMESPACE: default
  STATUS: deployed
  REVISION: 1
  TEST SUITE: None
  NOTES:
  CHART NAME: zookeeper
  CHART VERSION: 9.0.3
  APP VERSION: 3.8.0</p>
  <p>** Please be patient while the chart is being deployed **</p>
  <p>ZooKeeper can be accessed via port 2181 on the following DNS name from within your cluster:</p>
  <pre><code>zookeeper.default.svc.cluster.local
  </code></pre>
  <p>To connect to your ZooKeeper server run the following commands:</p>
  <pre><code>export POD_NAME=$(kubectl get pods --namespace default -l &quot;app.kubernetes.io/name=zookeeper,app.kubernetes.io/instance=zookeeper,app.kubernetes.io/component=zookeeper&quot; -o jsonpath=&quot;{.items[0].metadata.name}&quot;)
  kubectl exec -it $POD_NAME -- **zkCli.sh**
  </code></pre>
  <p>To connect to your ZooKeeper server from outside the cluster execute the following commands:</p>
  <pre><code>kubectl port-forward --namespace default svc/release-name-zookeeper-0 2181: &amp;
  **zkCli.sh** 127.0.0.1:2181
  </code></pre>