- Deploy Resources >
- Edit a Deployment’s Configuration
Edit a Deployment’s Configuration¶
On this page
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.
Procedure¶
Edit the Kubernetes resource specification file.
Modify or add any settings you need added or changed.
Save your specification file.
Invoke the following Kubernetes command to update your resource.
Considerations¶
- Changes cannot be made to individual members of a replica set or sharded cluster, only to the whole set or cluster.
- If a setting is not available for a MongoDB Kubernetes resource,
then the change must be made in the Ops Manager or
Cloud Manager application.
- MongoDB custom resources do not support all
mongod
command line options. If you use an unsupported option in your object specification file, the backing MongoDB Agent overrides the unsupported options. For a complete list of options supported by MongoDB custom resources, see MongoDB Kubernetes Object Specification.
- MongoDB custom resources do not support all
- Certain settings can only be configured using Kubernetes Operator. To review the list of settings, see MongoDB Kubernetes Operator Exclusive Settings.