kubectl minio tenant upgrade
Table of Contents
Description
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 metadata.name=minio-operator
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.
Important
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.
Syntax
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 \
--image quay.io/minio/minio:RELEASE.2023-03-24T21-41-23Z
The command has the following syntax:
kubectl minio tenant upgrade
TENANT_NAME \
--image \
--namespace \
[--output]
Flags
The command supports the following flags: