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.

  1. Use your preferred text editor to open the minkms-operator-values.yaml file used when installing MinIO KMS.

    For example, to open the file in nano from the current directory, use the following:

    nano minkms-operator-values.yaml
    
  2. Update the value of minkms.replicas.

    After modification, the file should resemble the following:

    minkms:
       Replicas: 4
    
  3. Apply the updated values to the deployment.

    helm upgrade minkms-operator minio/minkms-operator --reuse-values -n minkms-operator -f minkms-operator-values.yaml
    

    If successful, the command outputs a summary of installed resources.

    To validate the installation, run kubectl get all -n minkms-operator and check the status of deployed resources.

  4. Update any load balancers, reverse proxies, or other network control components to include the new host as part of the configuration.