<p>I would like to run a Cassandra cluster under Kubernetes on Google Container Engine using the examples given here: <a href="https://github.com/kubernetes/kubernetes/tree/master/examples/storage/cassandra" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/tree/master/examples/storage/cassandra</a></p>

<p>The file describes 3 ways to setup the cluster - PetSet(StatefulSet), Replication Controller and DaemonSet. Each one of them has its pros and cons.</p>

<p>While trying to choose the best setup for me, I noticed that I cannot figure out what to do with the storage and backups. </p>

<ol>
<li>How can I set or scale the storage size (increase/decrease node/cluster <strong>data storage</strong> size without data loss) ?</li>
<li>How do I manage backups and restores?</li>
</ol>

<p>You should definitely check out Flocker and Flockerhub from ClusterHQ. I've been playing around with their products in order to prove with a POC that containerized sharded db's can be done in an easy and manageable way. Make sure to check them out:
<a href="https://clusterhq.com/" rel="nofollow noreferrer">https://clusterhq.com/</a></p>

<p>They are handling data the same way as docker images are being handled. So you will be able to push and pull data volumes into a hub/repository.</p>
