Skip to content

Latest commit

 

History

History

zookeeper

ZooKeeper Example

This example is based on the official Kubernetes ZooKeeper tutorial.

Instructions

Generate the Kubernetes architecture diagram for the ZooKeeper manifest:

$ kube-diagrams zookeeper.yaml

Start a minikube cluster:

$ minikube start --node 4

Deploy the ZooKeeper application:

$ kubectl apply -f zookeeper.yaml

Wait a few minutes for the ZooKeeper application to be deployed.

Get all Kubernetes resources in the default namespace:

$ kubectl get all,sa,cm,pdb,pvc,pv,sc -o=yaml > namespace_default.yml

Generate a Kubernetes architecture diagram for the default namespace:

$ kube-diagrams namespace_default.yml

Delete the ZooKeeper application:

$ kubectl delete -f zookeeper.yaml

Generated architecture diagrams

Architecture diagram for the ZooKeeper manifest: zookeeper.png

Architecture diagram for a deployed ZooKeeper instance: default namespace