New to KubeDB? Please start here.
Rotate Authentication of Kafka
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 Kafka Authentication Configuration Process Works
The following diagram shows how KubeDB Ops-manager operator Rotate Authentication of a Kafka. Open the image in a new tab to see the enlarged version.
The Rotate Kafka Authentication process consists of the following steps:
At first, a user creates a
KafkaCustom Resource Object (CRO).KubeDBProvisioner operator watches theKafkaCRO.When the operator finds a
KafkaCR, it creates required number ofPetSetsand related necessary stuff like secrets, services, etc.Then, in order to rotate the authentication configuration of the
Kafka, the user creates aKafkaOpsRequestCR with desired information.KubeDBOps-manager operator watches theKafkaOpsRequestCR.When it finds a
KafkaOpsRequestCR, it pauses theKafkaobject which is referred from theKafkaOpsRequest. So, theKubeDBProvisioner operator doesn’t perform any operations on theKafkaobject 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 theKafkaOpsRequestCR.After the successful rotating of the
KafkaAuthentication, theKubeDBOps-manager operator resumes theKafkaobject 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 Kafka using KafkaOpsRequest CRD.































