StatefulSet with ZooKeeper as an example Developer To build this cluster. Deploy ZooKeeper ensemble kubectl apply -f zookeeper.yaml Look up the pods in the StatefulSet. See pods in this ZooKeeper cluster kubectl get pods -lapp=zookeeper Find out why a pod did not deploy kubectl describe pods zookeeper-0 Un-deploy ZooKeeper cluster kubectl delete -f zookeeper.yaml See Logs kubectl logs zookeeper-0