Zookeeper Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Zookeeper Client

zkCli -server localhost:2181

Interactive Commands

Help

> help

List

> ls /

Delete Recursively

> rmr /something

Batch Commands

zkCli -server localhost:2181 rmr /something

Zookeeper in Kubernetes

kubectl exec c3-zookeeper-0 -- bin/zkCli.sh ls /