Skip to content

Instantly share code, notes, and snippets.

@harshavardhana
Last active August 10, 2020 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harshavardhana/1ea1e7bd0f6ae08d0a1dd62d34ec9dcb to your computer and use it in GitHub Desktop.
Save harshavardhana/1ea1e7bd0f6ae08d0a1dd62d34ec9dcb to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Secret
metadata:
name: test-minio-creds-secret
type: Opaque
data:
accesskey: bWluaW8= # base 64 encoded "minio" (echo -n 'minio' | base64)
secretkey: bWluaW8xMjM= # based 64 encoded "minio123" (echo -n 'minio123' | base64)
---
apiVersion: minio.min.io/v1
kind: Tenant
metadata:
name: one-zone
spec:
metadata:
labels:
app: minio
annotations:
prometheus.io/path: /minio/prometheus/metrics
prometheus.io/port: "9000"
prometheus.io/scrape: "true"
image: minio/minio:RELEASE.2020-08-08T04-50-06Z
zones:
- servers: 18
volumesPerServer: 6
volumeClaimTemplate:
metadata:
name: data
spec:
storageClassName: minio-local-storage
resources:
requests:
storage: 14Ti
accessModes:
- ReadWriteOnce
credsSecret:
name: test-minio-creds-secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment