Skip to main content

Get Value of Znode

Windows

zkCli.cmd -server localhost:2181 get /app/path/to/key.nested 

Linux

zk=$(kubectl get pod -l app=app-zookeeper -o=jsonpath='{.items[0].metadata.name}')
kubectl exec $zk -- zkCli.sh -server localhost:2181 get /app/path/to/key.nested