1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
docs/source/reference/kubectl-minio-plugin/kubectl-minio-tenant-upgrade.rst
2022-06-15 13:34:04 -05:00

2.2 KiB

kubectl minio tenant upgrade

minio

Table of Contents

kubectl minio tenant upgrade

Description

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

EXAMPLE

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:|minio-latest|

SYNTAX

The command has the following syntax:

kubectl minio tenant upgrade 
                       TENANT_NAME    \
                       --image        \
                       --namespace    \
                       [--output]

Flags

The command supports the following flags:

TENANT_NAME

The name of the MinIO tenant to upgrade.

--image

The container image to use for upgrading the MinIO Tenant.

--namespace

The namespace in which to look for the MinIO Tenant.

Defaults to minio.

--output

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