<p>Has anyone tried deploying Cassandra (POC) on GCP using kubernetes (not GKE). If so can you please share info on how to get it working?</p>

<p>You could start by looking at <a href="https://developer.ibm.com/patterns/deploy-a-scalable-apache-cassandra-database-on-kubernetes/" rel="nofollow noreferrer">IBM's Scalable-Cassandra-deployment-on-Kubernetes</a>.</p>

<p>For seeds discovery you can use a headless service, similar to this <a href="http://node.mu/2015/09/18/multi-node-cassandra-cluster-made-easy-with-kubernetes/" rel="nofollow noreferrer">Multi-node Cassandra Cluster Made Easy with Kubernetes</a>.</p>

<p>Some difficulties:</p>

<ul>
<li><a href="https://kubernetes.io/blog/2018/04/13/local-persistent-volumes-beta/" rel="nofollow noreferrer">fast local storage for K8s is still in beta</a>; of course, you can use what k8s already has; there are <a href="https://lists.apache.org/thread.html/578d5f801cbf2d845c6ef2941149ee1065ef33d09400d08067ac2d53@%3Cuser.cassandra.apache.org%3E" rel="nofollow noreferrer">some users reporting</a> that they use Ceph RBD with 8 C* nodes each of them having 2TB of data on K8s.</li>
<li>at some point in time you will realize that you need a C* operator - here is some good startup - <a href="https://github.com/instaclustr/cassandra-operator" rel="nofollow noreferrer">Instaclustr's Cassandra Operator</a> and <a href="https://www.pipersgates.net/2018/10/23/cassandra-operator-for-kubernetes/" rel="nofollow noreferrer">Pantheon Systems' Cassandra Operator</a> </li>
<li>you need a way to <a href="https://medium.com/@marko.luksa/graceful-scaledown-of-stateful-apps-in-kubernetes-2205fc556ba9" rel="nofollow noreferrer">scale in gracefully stateful applications</a> (should be also covered by the operator; this is a solution if you don't want an operator, but you still need to use a controller).</li>
</ul>

<p>You could also check the <a href="https://lists.apache.org/list.html?user@cassandra.apache.org:lte=18M:kubernetes" rel="nofollow noreferrer">Cassandra mailing list,</a> since there are people there already using Cassandra over K8s in production.</p>
