Minio Tenant
Create Tenant
- Open Minio Operator
- Select Create Tenant
- Setup
- Name:
minio-tenant - Namespace:
namespace - Storage Class:
local-storage - Number of Servers: 2
- Drives per Server: 2
- Total Size: 100
- Erasure Code Parity:
EC:2. [concept] - CPU Request: 1
- Memory Request: 2
- CPU Limit: 2
- Memory Limit: 2
- Name:
Possible server volume combination
| Server count | Volume count | Volumes per server |
|---|---|---|
| 1 | 1, 2, 3 | 1, 2, 3 |
| 2 | 4, 6, 8 | 2, 3, 4 |
| 3 | 6, 9, 12 | 2, 3, 4 |
| 4 | 4, 8, 12 | 1, 2, 3 |
Kubectl Plugin Installation
kubectl minio tenant create minio-tenant \
--servers 1 \
--volumes 2 \
--capacity 8Gi \
--namespace minio \
--storage-class local-storage \
--output > minio-tenant.yaml
sed -i '/creationTimestamp/d' minio-tenant.yaml
kubectl apply -f minio-tenant.yaml
Ingress config
kubectl apply -f minio-ingress.yaml
Helm Chart Installation
helm show values minio/tenant > values.tenant.yaml
Custom values
tenant:
name: myminio
pools:
- servers: 2
name: pool-0
volumesPerServer: 2
size: 1Gi
storageClassName: local-storage
helm install \
--namespace minio \
--create-namespace \
minio-tenant minio/tenant