forked from k-space/kube
minio-clusters: Clean up ingresses
This commit is contained in:
51
minio-clusters/dedicated.yaml
Normal file
51
minio-clusters/dedicated.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
apiVersion: codemowers.io/v1alpha1
|
||||
kind: ClusterBucketClass
|
||||
metadata:
|
||||
name: dedicated
|
||||
spec:
|
||||
targetNamespace: minio-clusters
|
||||
description: "Dedicated Minio clusters"
|
||||
replicas: 4
|
||||
storageClass: minio
|
||||
podSpec:
|
||||
containers:
|
||||
- name: minio
|
||||
env:
|
||||
- name: MINIO_PROMETHEUS_AUTH_TYPE
|
||||
value: public
|
||||
image: minio/minio:RELEASE.2023-02-17T17-52-43Z
|
||||
args:
|
||||
- server
|
||||
- --address
|
||||
- 0.0.0.0:9000
|
||||
- --console-address
|
||||
- 0.0.0.0:9001
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
name: http
|
||||
- containerPort: 9001
|
||||
name: console
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /minio/health/ready
|
||||
port: 9000
|
||||
initialDelaySeconds: 2
|
||||
periodSeconds: 5
|
||||
resources:
|
||||
requests:
|
||||
cpu: 300m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 2Gi
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
nodeSelector:
|
||||
dedicated: storage
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
key: dedicated
|
||||
operator: Equal
|
||||
value: storage
|
Reference in New Issue
Block a user