Files
KubeDiagrams/examples/cassandra
2025-03-05 14:48:52 +01:00
..
2025-03-05 14:48:52 +01:00
2024-12-27 04:23:43 +01:00
2025-03-05 14:48:52 +01:00
2024-12-27 04:23:43 +01:00
2024-12-27 04:23:43 +01:00
2024-12-30 22:51:02 +01: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: cassandra.png

Architecture diagram for a deployed Cassandra instance: default namespace