📄️ What is the Atlas Operator
Deploying a database in Kubernetes is a complex task. It requires a lot of expertise to ensure that your deployment is future proof. In addition to that, maintaining that database can also be complex. Upgrading to more recent versions while keeping the same data can be a big issue.
📄️ Installing the Atlas Operator
The first step is to install the Atlas Operator. All of the source code for the operator can be found on the Github repository.
📄️ Create the necessary secrets
In order for the operator to be able to manage your cluster, you will need to provide it with an API key with the appropriate permissions.
📄️ Create and manage an Atlas deployment
You are now ready to manage your Atlas projects and clusters from Kubernetes. This can be done with the three new CRDs that were added to your cluster. Those CRDs are AtlasProject to manage projects, AtlasDeployment to manage deployments, and AtlasDatabaseUser to manage database users.
📄️ Configure the backend
Now that your project and cluster are created, you can access the various properties from your Atlas instance. You can now access the connection string, and even configure your backend service to use that connection string.