Skip to content

Latest commit

 

History

History

cassandra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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