Rancher and MinIO in k8s Environment using Helm - cniackz/public GitHub Wiki

Objective:

To show how to install MinIO in Rancher k8s Cluster using Kustomize

Steps:

  1. Install Rancher Desktop from https://rancherdesktop.io/
  1. Create a multi-node cluster as observed in: https://docs.rancherdesktop.io/how-to-guides/create-multi-node-cluster/
  1. Once your cluster is up and ready with k3d and Rancher then install MinIO Operator:
helm repo add minio https://operator.min.io/
helm install \
     --namespace minio-operator \
     --create-namespace \
     minio-operator minio/operator

You should get:

$ helm install \
>      --namespace minio-operator \
>      --create-namespace \
>      minio-operator minio/operator
NAME: minio-operator
LAST DEPLOYED: Mon Dec 19 16:45:53 2022
NAMESPACE: minio-operator
STATUS: deployed
REVISION: 1
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"
  1. Install Tenant from the UI:

Conclusion:

No TLS issue observed when installing MinIO in Rancher with above steps.