New to KubeDB? Please start here.
Rotate Authentication of Cassandra
This guide will give an overview on how KubeDB Ops-manager operator Rotate Authentication configuration.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Rotate Cassandra Authentication Configuration Process Works
The Rotate Cassandra Authentication process consists of the following steps:
At first, a user creates a
CassandraCustom Resource Object (CRO).KubeDBProvisioner operator watches theCassandraCRO.When the operator finds a
CassandraCR, it creates required number ofPetSetsand related necessary stuff like secrets, services, etc.Then, in order to rotate the authentication configuration of the
Cassandra, the user creates aCassandraOpsRequestCR with desired information.KubeDBOps-manager operator watches theCassandraOpsRequestCR.When it finds a
CassandraOpsRequestCR, it pauses theCassandraobject which is referred from theCassandraOpsRequest. So, theKubeDBProvisioner operator doesn’t perform any operations on theCassandraobject during the rotating Authentication process.Then the
KubeDBOps-manager operator will update necessary configuration based on the Ops Request yaml to update credentials.Then the
KubeDBOps-manager operator will restart all the Pods of the database so that they restart with the new authenticationENVsor other configuration defined in theCassandraOpsRequestCR.After the successful rotating of the
CassandraAuthentication, theKubeDBOps-manager operator resumes theCassandraobject so that theKubeDBProvisioner operator resumes its usual operations.
In the next docs, we are going to show a step by step guide on rotating Authentication configuration of a Cassandra using CassandraOpsRequest CRD.































