MongoDB and Kubernetes
Kubernetes is the industry-leading container orchestration platform. You can use any distribution of Kubernetes to manage the full lifecycle of your MongoDB clusters, wherever you choose to run them, from on-premises infrastructure to the public cloud.
What is Kubernetes?
Kubernetes is an open-source container-orchestration system for automating container deployment, scaling, and management.
How do you use MongoDB in or with Kubernetes?
MongoDB has three Kubernetes Operators. Operators extend the native Kubernetes control plane to support custom applications. Our Atlas Operator runs in Kubernetes but enables management of Atlas using configuration in Kubernetes which is applied by the Operator calling Atlas APIs. In this way the Atlas Operator enables you to manage Atlas as Infrastructure as Code, either in Kubernetes, or more commonly in a repository and then applied to Kubernetes with the configuration for the rest of your stack. Then we have the Enterprise Operator, this enables running MongoDB Enterprise Advanced in Kubernetes, including Ops Manager. The Operator drastically simplifies running MongoDB EA in Kubernetes, including enabling simplified configuration of deployments and making tasks like upgrades much easier.
Which Kubernetes Operator should I use?
If you're using Atlas and the rest of your application stack is in Kubernetes then the Atlas Operator can drastically simplify the task of managing configuration for Atlas, including creating new databases.
If you need to run MongoDB on premise and are using MongoDB EA, then the MongoDB Enterprise Operator will make running it in Kubernetes much, much easier, simplifying the install and setup, as well as day two tasks like upgrades.