kubectl minio tenant upgrade


Command Requires MinIO Operator

Use the following command to validate that the operator is online and available prior to running this command:

kubectl get deployments -A --field-selector

Issue the kubectl minio init command to initiate the operator if it is not already running in the Kubernetes cluster.

Upgrades the minio server container image used by the MinIO Tenant.


MinIO upgrades the image used by all pods in the Tenant at once. Applications typically transparently retry operations against the MinIO Tenant, such that there should be no perceived downtime.

Test all upgrades in a staging environment, such as a separate MinIO Tenant, before applying to production tenants.


The following example expands a MinIO Tenant with a Pool consisting of 4 MinIO servers with 8 drives each and a total additional capacity of 32Ti:

kubectl minio tenant upgrade            \
                       minio-tenant-1   \

The command has the following syntax:

kubectl minio tenant upgrade
                       TENANT_NAME    \
                       --image        \
                       --namespace    \


The command supports the following flags:


The name of the MinIO tenant to upgrade.


The container image to use for upgrading the MinIO Tenant.


The namespace in which to look for the MinIO Tenant.

Defaults to minio.


Displays the generated YAML objects, but does not upgrade the tenant.