2.2 KiB
Upgrade a MinIO Tenant
minio
Table of Contents
Prerequisites
MinIO Kubernetes Operator and Plugin
This procedures on this page requires a valid installation of the MinIO Kubernetes Operator and assumes the local host has a matching installation of the MinIO Kubernetes Operator. This procedure assumes the latest stable Operator and Plugin version .
See deploy-operator-kubernetes
for complete documentation
on deploying the MinIO Operator.
Procedure (CLI)
This procedure documents upgrading pods running on a MinIO Tenant.
1) Validate the Active MinIO Version
Use the kubectl minio tenant info
command to return a
summary of the MinIO Tenant, including the new Pool:
kubectl minio tenant info TENANT_NAME \
--namespace TENANT_NAMESPACE
- Replace
TENANT_NAME
with the name of the Tenant. - Replace
TENANT_NAMESPACE
with the namespace of the Tenant.
The output includes the version of the MinIO Server used by all Pods in the Tenant.
2) Upgrade the MinIO Tenant
Use the kubectl minio tenant upgrade
command to upgrade the
container image used by all MinIO Pods in the Tenant. MinIO
upgrades all minio
server processes at once. This
may result in downtime until the upgrade process completes.
kubectl minio tenant upgrade TENANT_NAME \
--image minio:minio:RELEASE:YYYY-MM-DDTHH-MM-SSZ \
--namespace TENANT_NAMESPACE
- Replace
TENANT_NAME
with the name of the Tenant. - Replace
RELEASE:YYYY-MM-DDTHH-MM-SSZ
with the specific release to use. Specifyminio/minio
to use the latest stable version of MinIO. - Replace
TENANT_NAMESPACE
with the namespace of the Tenant.
See MinIO's DockerHub Repository for a list of available release tags.