<p>I'm newbie at kubernetes and I'm having problem to understand how I can run persistent pods (Cassandras ones or mysql ones) in ubuntu servers. </p>

<p>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 data that are present in other nodes. So what will do the pod when it receive the request from the balancer? Also, kubernetes has the power to destroy nodes when it sees that the traffic has reduced, so how we can not lose data and not disturb the environment?</p>

<p>You should use <a href="http://kubernetes.io/docs/user-guide/volumes/" rel="nofollow">volumes</a> to map a directory in the container to persistent disks on the host or other storage</p>
