The Mongo operator can be used to deploy MongoDB in EKS/EFS in the following steps:
Install the Mongo operator on your Kubernetes cluster.
Create a persistent volume (PV) in EFS that will be used to store the MongoDB data.
Create a persistent volume claim (PVC) that will request the storage space from the PV created in step 2.
Configure the Mongo operator to use the PVC created in step 3 as the storage for MongoDB data.
Specify the number of MongoDB replicas that you want to create and deploy.
Configure the MongoDB stateful set to use the EFS storage backend by setting the volumeClaimTemplates to the PVC created in step 3.
Deploy the MongoDB stateful set.
Once the MongoDB stateful set is deployed, the Mongo operator will take care of scaling, upgrades, and backups. It will also monitor the health of the MongoDB instances and ensure that they are running and available for use.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-04-19 11:00:00 +0000
Seen: 13 times
Last updated: Feb 08 '22
What is the process of integrating API data into MongoDB using Spark/Python?
How can additional fields that have been transformed be queried in MongoDB?
What is the difference between indexing in Elasticsearch and MongoDB?
When data is updated in MongoDB, why does Logstash not reflect the changes?
How can data be extracted from Azure DocumentDB for exporting purposes?
How can I link or integrate mongodb with Google Data Studio?
How can I link to two distinct MongoDB databases in my Nuxt 3/ Vue 3 application?