mirror of
https://github.com/philippemerle/KubeDiagrams.git
synced 2026-05-09 09:16:33 +00:00
Cassandra Example
This example is based on the official Kubernetes Cassandra tutorial.
Instructions
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
Generated architecture diagrams
Architecture diagram for cassandra.yml:

