Skip to content

Helm Upgrade 5.0.9 to 5.0.10

Cesar Celis Hernandez edited this page Oct 24, 2023 · 3 revisions

Objective:

To document how the helm upgrade works for MinIO Operator and its Tenant(s)

Steps:

  1. Assuming Operator and Tenant is already installed via Helm:
$ helm list -n minio-operator
NAME          	NAMESPACE     	REVISION	UPDATED                             	STATUS  	CHART         	APP VERSION
minio-operator	minio-operator	1       	2023-10-24 10:20:45.043703 -0400 EDT	deployed	operator-5.0.9	v5.0.9

Chart is operator-5.0.9

$ helm list -n tenant-ns
NAME     	NAMESPACE	REVISION	UPDATED                             	STATUS  	CHART       	APP VERSION
tenant-ns	tenant-ns	1       	2023-10-24 10:21:37.881926 -0400 EDT	deployed	tenant-5.0.9	v5.0.9     

Chart is tenant-5.0.9

  1. Upgrade Operator:
$ helm upgrade \
     --namespace minio-operator \
     minio-operator ./operator-5.0.10.tgz

New chart is operator-5.0.10

$ helm list -n minio-operator
NAME          	NAMESPACE     	REVISION	UPDATED                             	STATUS  	CHART          	APP VERSION
minio-operator	minio-operator	2       	2023-10-24 10:31:31.498617 -0400 EDT	deployed	operator-5.0.10	v5.0.10    
  • Restart pods under minio-operator namespace after the upgrade.
  1. Upgrade Tenant:
$ helm upgrade --namespace tenant-ns tenant-ns ./tenant-5.0.10.tgz

New chart is tenant-5.0.10

$ helm list -n tenant-ns
NAME     	NAMESPACE	REVISION	UPDATED                             	STATUS  	CHART        	APP VERSION
tenant-ns	tenant-ns	2       	2023-10-24 10:34:43.675944 -0400 EDT	deployed	tenant-5.0.10	v5.0.10    
  • Restart pods under tenant's namespace.
  1. Check Tenant Status is Healthy by looking for the Green color in the UI or initialized state on the CLI:
Screenshot 2023-10-24 at 10 43 07 AM
  • OpenShift:
$ oc get tenant -n tenant-ns
NAME      STATE         AGE
myminio   Initialized   13m
  • Kubernetes:
$ k get tenant -n tenant-ns
NAME      STATE         AGE
myminio   Initialized   13m
Cesars-MacBook-Pro:Downloads cniackz$ 
Clone this wiki locally