Scale MinIO KMS on Upstream Kubernetes
MinIO Key Management Service (KMS) installs on Kubernetes as a StatefulSet. As a result, you can quickly scale up or down by modifying the desired number of replicas.
By default, the KMS Operator deploys 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
minkms-operator-values.yamlfile used when installing MinIO KMS.For example, to open the file in
nanofrom the current directory, use the following:nano minkms-operator-values.yaml -
Update the value of
minkms.replicas.After modification, the file should resemble the following:
minkms: Replicas: 4 -
Apply the updated values to the deployment.
helm upgrade minkms-operator minio/minkms-operator --reuse-values -n minkms-operator -f minkms-operator-values.yamlIf successful, the command outputs a summary of installed resources.
To validate the installation, run
kubectl get all -n minkms-operatorand 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.