Operator from 4.5.3 to 4.5.8 using Helm - cniackz/public GitHub Wiki
- Installed Operator 4.5.3 via helm:
helm install \
--namespace minio-operator \
--create-namespace \
minio-operator operator-4.5.3.tgz
- Install Tenant via Helm:
helm install \
--namespace tenant-ns \
--create-namespace \
tenant-ns tenant-4.5.3.tgz
You should see:
NAME: tenant-ns
LAST DEPLOYED: Wed Apr 26 13:24:06 2023
NAMESPACE: tenant-ns
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
To connect to the minio1 tenant if it doesn't have a service exposed, you can port-forward to it by running:
kubectl --namespace tenant-ns port-forward svc/minio1-console 9443:9443
Then visit the MinIO Console at https://127.0.0.1:9443
- Upgrade Operator:
helm upgrade \
--namespace minio-operator \
minio-operator operator-4.5.8.tgz
You should see:
Release "minio-operator" has been upgraded. Happy Helming!
NAME: minio-operator
LAST DEPLOYED: Wed Apr 26 13:12:21 2023
NAMESPACE: minio-operator
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
1. Get the JWT for logging in to the console:
kubectl apply -f - <<EOF
apiVersion: v1
kind: Secret
metadata:
name: console-sa-secret
namespace: minio-operator
annotations:
kubernetes.io/service-account.name: console-sa
type: kubernetes.io/service-account-token
EOF
kubectl -n minio-operator get secret console-sa-secret -o jsonpath="{.data.token}" | base64 --decode
2. Get the Operator Console URL by running these commands:
kubectl --namespace minio-operator port-forward svc/console 9090:9090
echo "Visit the Operator Console at http://127.0.0.1:9090"
New version being used:
$ helm list -n minio-operator
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
minio-operator minio-operator 2 2023-04-26 13:32:49.891755 -0400 EDT deployed operator-4.5.8 v4.5.8
- Upgrade Tenant:
$ helm upgrade --namespace tenant-ns tenant-ns /Users/cniackz/bash-config/config-files/tenant-4.5.8.tgz
Release "tenant-ns" has been upgraded. Happy Helming!
NAME: tenant-ns
LAST DEPLOYED: Wed Apr 26 13:37:20 2023
NAMESPACE: tenant-ns
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
To connect to the minio1 tenant if it doesn't have a service exposed, you can port-forward to it by running:
kubectl --namespace tenant-ns port-forward svc/minio1-console 9443:9443
Then visit the MinIO Console at https://127.0.0.1:9443
New version being used:
$ helm list -n tenant-ns
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
tenant-ns tenant-ns 2 2023-04-26 13:37:20.24037 -0400 EDT deployed tenant-4.5.8 v4.5.8
- Operator and Tenant are functional after the upgrade: