-
Notifications
You must be signed in to change notification settings - Fork 0
Rancher and MinIO in k8s Environment using Helm
Cesar Celis Hernandez edited this page Dec 19, 2022
·
4 revisions
To show how to install MinIO in Rancher k8s Cluster using Kustomize
- Install
Rancher Desktop
from https://rancherdesktop.io/
- Create a multi-node cluster as observed in: https://docs.rancherdesktop.io/how-to-guides/create-multi-node-cluster/
- Once your cluster is up and ready with
k3d
andRancher
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"
- Install Tenant from the UI:
No TLS issue observed when installing MinIO in Rancher with above steps.