Kubernetes: running persistent cassandra / mysql containers on Ubuntu servers

I'm new to kubernetes, and I had a problem to understand how I can run persistent elements (Cassandras or mysql) on ubuntu servers.

Correct me if I'm wrong, kubernetes can scale up or down the pods when it sees that we need more CPU, but we are not talking about static code, but about data that is present in other nodes. So what will he do when he receives a request from the balancer? In addition, the kubernete has the right to destroy nodes when it sees that traffic has decreased, and how can we not lose data and not disturb the environment?

+5
source share
1 answer

You must use volumes to map the directory in the container to persistent disks on the host or other storage

+1
source

All Articles