Upgrading Minio
Upgrade Minio Helm chart from Version 1.6.0 to Version 1.6.2 in your IBM® Cloud Private cluster.
Your Minio service is automatically upgraded if you configured Minio service in IBM Cloud Private Version 3.1.1 or 3.1.0 in one of the following ways:
- You configured Minio service while you installed your IBM Cloud Private cluster.
- You used the add-on command to deploy Minio service after you installed IBM Cloud Private.
Note: Minio service rollback is supported only in standalone mode.
In the previous releases, if you configured Minio by installing the Helm chart, complete the steps in the sections that follow.
You can upgrade Minio Helm installation either by using the Helm CLI or by using the management console.
Upgrade Minio by using the Helm CLI
-
Get the configuration value of the installed Helm release by using the following command:
helm list --tls | grep mini minio 1 Tue Feb 5 01:56:31 2019 DEPLOYED ibm-mino-objectstore-1.6.0 defaulthelm get values <Helm release name> --tls > values-minio.yamlFor example, if your Helm release name is
minio, run the following command:helm get values minio --tls > values-minio.yaml -
Create an override file.
Note: In the Version 1.6.2 of the Minio Helm chart, the configuration variables
minioAccessSercretandtls.minioTlsSercretare corrected tominioAccessSecretandtls.minioTlsSercret. You must populate these variables in the override file based on the values of the old variables.Create the following override file:
minioAccessSecret: minio tls: minioTlsSecret: ""Note:
- The value of
minioAccessSecretcan be obtained from old values-minio.yaml from the variableminioAccessSercret.minioAccessSercret: minio -
If you enabled TLS for Minio server and configured
TLS certificate provision optiontoprovided, the value oftls.minioTlsSecretcan be obtained from old values-minio.yaml from the variabletls.minioTlsSercret.tls: minioTlsSercret: "minio-tls-secret"If you did not enable TLS for Minio server and did not configure
TLS certificate provision optiontoprovided, you do not need to addtls.minioTlsSecretin override file.
- The value of
-
Upgrade the chart.
Run the following command to upgrade the chart:
helm upgrade --force -f values-minio.yaml -f override.yaml --version=1.6.2 minio ibm-charts/ibm-minio-objectstore --tls -
Verify your chart version.
helm history minio --tlsFollowing is a sample output:
REVISION UPDATED STATUS CHART DESCRIPTION 1 Tue Feb 5 01:56:31 2019 SUPERSEDED ibm-minio-objectstore-1.6.0 Install complete 2 Tue Feb 5 02:37:06 2019 DEPLOYED ibm-minio-objectstore-1.6.2 Upgrade complete
Upgrade Minio by using the management console
- Log on to the management console.
- From the navigation menu, click Workloads > Helm Releases.
- Locate the Minio release.
- Click ACTION > Upgrade.
- Select version 1.6.2.
Note: The following steps are necessary as the variable names are changed in the lastet version of the Helm chart. - Specify the old
Access Secretvalue in the Access Secret field. - In the previous versions, if you enabled TLS for Minio server and configured
TLS certificate provision optiontoprovided, specify the oldMinio TLS secretvalue in theMinio TLS secretfield.