Modify a MinIO Tenant
You can modify tenants after deployment to change mutable configuration settings. See MinIO Custom Resource Definition for a complete description of available settings in the MinIO Custom Resource Definition.
The method for modifying the Tenant depends on how you deployed the tenant:
For Kustomize-deployed Tenants, you can modify the base Kustomization resources and apply them using kubectl apply -k
against the directory containing the kustomization.yaml
object.
kubectl apply -k ~/kustomization/TENANT-NAME/
Modify the path to the Kustomization directory to match your local configuration.
For Helm-deployed Tenants, you can modify the base values.yaml
and upgrade the Tenant using the chart:
helm upgrade TENANT-NAME minio-operator/tenant -f values.yaml -n TENANT-NAMESPACE
The command above assumes use of the MinIO Operator Chart repository. If you installed the Chart manually or by using a different repository name, specify that chart or name in the command.
Replace TENANT-NAME
and TENANT-NAMESPACE
with the name and namespace of the Tenant, respectively.
You can use helm list -n TENANT-NAMESPACE
to validate the Tenant name.
- Add Trusted Certificate Authorities
The MinIO Tenant validates the TLS certificate presented by each connecting client against the host system’s trusted root certificate store. The MinIO Operator can attach additional third-party Certificate Authorities (CA) to the Tenant to allow validation of client TLS certificates signed by those CAs.
To customize the trusted CAs mounted to each Tenant MinIO pod, enable the Custom Certificates switch. Select the Add CA Certificate + button to add third party CA certificates.
If the MinIO Tenant cannot match an incoming client’s TLS certificate issuer against either the container OS’s trust store or an explicitly attached CA, MinIO rejects the connection as invalid.
Manage Tenant Pools
Specify Runtime Class
New in version Console: 0.23.1
When adding a new pool or modifying an existing pool for a tenant, you can specify the Runtime Class Name for pools to use.
Decommission a Tenant Server Pool
MinIO Operator 4.4.13 and later support decommissioning a server pool in a Tenant.
Specifically, you can follow the Decommission a Server pool procedure to remove the pool from the tenant, then edit the tenant YAML to drop the pool from the StatefulSet.
When removing the Tenant pool, ensure the spec.pools.[n].name
fields have values for all remaining pools.
Maintain pool order when decommissioning and then adding
If you decommission one pool in a multiple pool deployment, you cannot use the same node sequence for a new pool. For example, consider a deployment with the following pools:
https://minio-{1...4}.example.net/mnt/drive-{1...4}
https://minio-{5...8}.example.net/mnt/drive-{1...4}
https://minio-{9...12}.example.net/mnt/drive-{1...4}
If you decommission the minio-{5...8}
pool, you cannot add a new pool with the same node numbering.
You must add the new pool after minio-{9...12}
:
https://minio-{1...4}.example.net/mnt/drive-{1...4}
https://minio-{9...12}.example.net/mnt/drive-{1...4}
https://minio-{13...16}.example.net/mnt/drive-{1...4}