-
Notifications
You must be signed in to change notification settings - Fork 0
How to test MinIO in k8s
Cesar Celis edited this page Aug 8, 2024
·
7 revisions
Test MinIO in k8s
-
Install Docker
-
Install Kind
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "127.0.0.1"
apiServerPort: 6443
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30080
hostPort: 30080
listenAddress: "127.0.0.1"
protocol: TCP
- role: worker
extraPortMappings:
- containerPort: 30081
hostPort: 30081
listenAddress: "127.0.0.1"
protocol: TCP
- role: worker
extraPortMappings:
- containerPort: 30082
hostPort: 30082
listenAddress: "127.0.0.1"
protocol: TCP
- role: worker
extraPortMappings:
- containerPort: 30083
hostPort: 30083
listenAddress: "127.0.0.1"
protocol: TCP
- role: worker
extraPortMappings:
- containerPort: 30084
hostPort: 30084
listenAddress: "127.0.0.1"
protocol: TCP
kind create cluster --config config.yaml
- Install Operator:
kubectl apply -k github.com/minio/operator/resources/\?ref\=v5.0.15
- Install Tenant:
kustomize build github.com/minio/operator/examples/kustomization/tenant-lite > tenant.yaml
kubectl apply -f tenant.yaml