This example is based on the official Kubernetes ZooKeeper tutorial.
Generate the Kubernetes architecture diagram for the ZooKeeper manifest:
$ kube-diagrams zookeeper.yamlStart a minikube cluster:
$ minikube start --node 4Deploy the ZooKeeper application:
$ kubectl apply -f zookeeper.yamlWait 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.ymlGenerate a Kubernetes architecture diagram for the default namespace:
$ kube-diagrams namespace_default.ymlDelete the ZooKeeper application:
$ kubectl delete -f zookeeper.yaml
