Created
February 4, 2025 15:52
-
-
Save daemonfire300/43a87103c73cd63268a1b61d1d368ab8 to your computer and use it in GitHub Desktop.
Example Minio Tenant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: storage-configuration | |
namespace: minio-tenant | |
stringData: | |
config.env: |- | |
export MINIO_ROOT_USER="minio" | |
export MINIO_ROOT_PASSWORD="minio123" | |
export MINIO_STORAGE_CLASS_STANDARD="EC:2" | |
export MINIO_BROWSER="off" | |
type: Opaque | |
--- | |
apiVersion: v1 | |
data: | |
CONSOLE_ACCESS_KEY: Y29uc29sZQ== | |
CONSOLE_SECRET_KEY: Y29uc29sZTEyMw== | |
kind: Secret | |
metadata: | |
name: storage-user | |
namespace: minio-tenant | |
type: Opaque | |
--- | |
apiVersion: minio.min.io/v2 | |
kind: Tenant | |
metadata: | |
annotations: | |
prometheus.io/path: /minio/v2/metrics/cluster | |
prometheus.io/port: "9000" | |
prometheus.io/scrape: "true" | |
labels: | |
app: minio | |
name: myminio | |
namespace: minio-tenant | |
spec: | |
certConfig: {} | |
configuration: | |
name: storage-configuration | |
env: [] | |
externalCaCertSecret: [] | |
externalCertSecret: [] | |
externalClientCertSecrets: [] | |
features: | |
bucketDNS: false | |
domains: {} | |
image: quay.io/minio/minio:RELEASE.2024-10-02T17-50-41Z | |
imagePullSecret: {} | |
mountPath: /export | |
podManagementPolicy: Parallel | |
pools: | |
- affinity: | |
nodeAffinity: {} | |
podAffinity: {} | |
podAntiAffinity: {} | |
containerSecurityContext: | |
allowPrivilegeEscalation: false | |
capabilities: | |
drop: | |
- ALL | |
runAsGroup: 1000 | |
runAsNonRoot: true | |
runAsUser: 1000 | |
seccompProfile: | |
type: RuntimeDefault | |
name: pool-0 | |
nodeSelector: {} | |
resources: {} | |
securityContext: | |
fsGroup: 1000 | |
fsGroupChangePolicy: OnRootMismatch | |
runAsGroup: 1000 | |
runAsNonRoot: true | |
runAsUser: 1000 | |
servers: 2 | |
tolerations: [] | |
topologySpreadConstraints: [] | |
volumeClaimTemplate: | |
apiVersion: v1 | |
kind: persistentvolumeclaims | |
metadata: {} | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 500Mi | |
storageClassName: standard | |
status: {} | |
volumesPerServer: 4 | |
priorityClassName: "" | |
requestAutoCert: true | |
serviceAccountName: "" | |
serviceMetadata: | |
consoleServiceAnnotations: {} | |
consoleServiceLabels: {} | |
minioServiceAnnotations: {} | |
minioServiceLabels: {} | |
subPath: "" | |
users: | |
- name: storage-user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment