Questions tagged [cass-operator]

The DataStax Kubernetes Operator for Apache Cassandra® (Cass Operator) automates the process of deploying and managing open-source Apache Cassandra®, K8ssandra or DataStax Enterprise (DSE) in a Kubernetes cluster. It is open sourced under the Apache License 2.0.

Cass Operator distills the user-supplied information down to the number of nodes and cluster name to manage the lifecycle of individual Kubernetes resources. Additional options are available, but for starters, that's essentially all you'll need to specify. Now the process of managing the distributed Cassandra, K8ssandra or DSE data platform is turnkey and much easier. This means your team is free to focus on the application layer and its functionality.

Features:

  • Proper token ring initialization, with only one node bootstrapping at a time.
  • Seed node management - one per rack, or three per datacenter, whichever is more.
  • Server configuration integrated into the CassandraDatacenter CRD.
  • Rolling reboot nodes by changing the CRD.
  • Store data in a rack-safe way - one replica per cloud AZ.
  • Scale up racks evenly with new nodes Scale down racks evenly by decommissioning existing nodes Replace dead/unrecoverable nodes.
  • Multi DC clusters (limited to one Kubernetes namespace).

Resources:

8 questions
4
votes
1 answer

What does 2/2 mean in output of kubectl get all -n cass-operator

I have a 3 node Kubernetes cluster and I have set up Cassandra on it using Cass-Operator. I am following the instructions from here - https://github.com/datastax/cass-operator What does the 2/2 mean in the output of the following command kubectl get…
Manu Chadha
  • 15,555
  • 19
  • 91
  • 184
3
votes
1 answer

cannot deploy Cassandra using k8ssandra

I am using the following chart to deploy a Cassandra cluster to my gke cluster. https://github.com/k8ssandra/k8ssandra/tree/main/charts/k8ssandra However, the statefulset stuck in state 1/2 (the cassandra container status is always unhealthy) Here's…
1
vote
2 answers

Connect to Cassandra on Kubernetes using java-driver

We are bringing up a Cassandra cluster, using k8ssandra helm chart, it exposes several services, our client applications are using the datastax Java-Driver and running at the same k8s cluster as the Cassandra cluster (this is testing…
1
vote
1 answer

Unable to Connect to Jconsole - cassandra k8 cluster

cassandra-env.sh JMX_PORT=7199 if [ "$LOCAL_JMX" = "yes" ]; then JVM_OPTS="$JVM_OPTS -Dcassandra.jmx.local.port=$JMX_PORT" JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false" else JVM_OPTS="$JVM_OPTS…
user9607927
1
vote
1 answer

Why is expanding/reducing StorageConfig volume size retricted in cass-operator?

Why there is restriction while expanding and reducing the storage config size in cassandra operator- Datastax https://github.com/datastax/cass-operator/issues/390 Why there is a validation/restriction in statefulset for expanding storage config?
1
vote
2 answers

get shell of the pod running Cassandra via GKE

I have created a GKE cluster of Cassandra and I want to run nodetool on each node to back up the data. I am unable to figure out how to do it. So far, I have SSHed to the node on the kubernetes cluster and I lost from that point onwards. I did…
Manu Chadha
  • 15,555
  • 19
  • 91
  • 184
1
vote
0 answers

Temporarily stopping K8s and Cassandra cluster

I have created a Cassandra cluster on Kubernetes using cass-operator on gcp. It is for my personal experimentation. To avoid incurring cost, I want to stop the cluster when I am not using it and start it when I need it without losing data. Is there…
Manu Chadha
  • 15,555
  • 19
  • 91
  • 184
0
votes
1 answer

Debug a pod stuck in pending state

How could I debug a pod stuck in pending state? I am using k8ssandra https://k8ssandra.io/docs/ to create a Cassandra cluster. It uses helm files. I created a 3 nodes cluster and changed size value to 3 in local values.yaml file to create a 3 node…
Manu Chadha
  • 15,555
  • 19
  • 91
  • 184