Docs Menu
Docs Home
MongoDB Enterprise Kubernetes Operator

Edit a Database Resource

On this page

  • Considerations
  • Prerequisites
  • Procedure

You can modify a deployment's configuration and topology, including its MongoDB versions, storage engines, and numbers of hosts or shards. You can make modifications at all levels of a deployment's topology from a top-level sharded cluster or replica set to lower levels, such as a replica set within a sharded cluster, or an individual process within a replica set. You can also modify standalone processes.

Before you update a MongoDB object, complete the following procedures:

kubectl apply -f <standalone-conf>.yaml
← Deploy a Resource to Use with Prometheus