Modify a database cluster
Modifying a database cluster involves adjusting its configuration to align with changing business requirements, optimize performance, or resolve specific operational issues. You might modify a cluster to:
-
Adjust resource allocation.
-
Update security settings.
-
Modify network parameters.
-
Upgrade versions.
-
Scale up to change a datacenter size or add a new datacenter.
-
Scale down to change a datacenter size or remove a datacenter.
-
Make a configuration change.
You can modify a database cluster using the Mission Control UI or CLI.
The UI lets you provision a cluster using simple or expert mode.
The UI offers guided mode and advanced mode.
DataStax recommends guided mode for users who are new to Kubernetes or Mission Control.
It lets you modify a cluster with a few clicks.
Expert mode is for users who are familiar with the Kubernetes API and YAML configuration and lets you define a cluster with more specific settings.
DataStax recommends the CLI for users who are familiar with kubectl.
|
NodeSync is disabled by default for database clusters. |
You can use the Mission Control UI or CLI to modify a cluster:
Use guided mode in the UI
To modify a cluster using guided mode, do the following:
-
In the Mission Control UI, select your project, and then click Clusters.
-
Select the cluster to update.
-
Click Edit cluster.
-
Update the cluster configuration.
-
Click Save changes.
Use expert mode in the UI
DataStax recommends expert mode only for users who are familiar with the Kubernetes API and YAML configuration.
For custom resource definition (CRD) details, see Mission Control Custom Resource Definition (CRD) reference.
To modify a cluster using expert mode, do the following:
-
In the Mission Control UI, select your project.
-
Click the cluster to update.
-
Click Edit cluster.
-
Click Advanced. The Edit cluster page displays YAML configuration options.
-
Edit the YAML configuration to update the cluster.
As you make changes, autocomplete suggestions appear for some fields. When you add a new array item (
-), autocomplete provides intelligent suggestions based on the schema. For arrays of objects, autocomplete suggests valid property names based on the object’s schema. For arrays of enum strings, autocomplete suggests predefined values from the enum list. -
Click Save changes.
|
When you use expert mode to copy your YAML definition and create a new cluster on another installation, you must omit the |
Use the CLI
To modify a cluster with the kubectl CLI, do the following:
-
Edit the cluster manifest.
-
Apply the changes:
kubectl apply -f MANIFEST_FILENAMEReplace
MANIFEST_FILENAMEwith the file name of your manifest.