This example is based on the official Kubernetes Cassandra tutorial.
Generate the Kubernetes architecture diagram for cassandra.yml:
$ kube-diagrams cassandra.yml
Start a minikube cluster:
$ minikube start --memory 5120 --cpus=4
Deploy the Cassandra application:
$ kubectl apply -f cassandra.yml
Wait a few minutes for the Cassandra application to be deployed.
Get all Kubernetes resources in the default
namespace:
$ kubectl get all,pvc,serviceaccount,configmap,pv,storageclass -o=yaml > default.yml
Generate a Kubernetes architecture diagram for the default
namespace:
$ kube-diagrams default.yml
Delete Cassandra application.
$ kubectl delete -f cassandra.yml
Architecture diagram for cassandra.yml: