Scale Key Manager on Upstream Kubernetes
AIStor Key Manager installs on Kubernetes as a statefulset. As a result, you can quickly scale Key Manager up or down by modifying the desired number of replicas.
By default, Key Manager installs on Kubernetes with three (3
) replicas.
Use the following procedure to adjust the number of replicas up or down to meet your requirements.
-
Use your preferred text editor to open the
aistor-keymanager-operator-values.yaml
file used when installing Key Manager.For example, to open the file in
nano
from the current directory, use the following:nano aistor-keymanager-operator-values.yaml
-
Update the value of
keyManager.replicas
.After modification, the file should resemble the following:
global: license license: "LICENSE-STRING" keyManager: Replicas: 4
-
Apply the updated values to the deployment.
helm upgrade keymanager-operator minio/aistor-keymanager-operator --reuse-values -n keymanager-operator -f aistor-keymanager-operator-values.yaml
If successful, the command outputs a summary of installed resources.
To validate the installation, run
kubectl get all -n keymanager-operator
and check the status of deployed resources. -
Update any load balancers, reverse proxies, or other network control components to include the new host as part of the configuration.