1
0
forked from k-space/kube
kube/minio-clusters/dedicated.yaml

78 lines
2.2 KiB
YAML
Raw Normal View History

2023-08-01 18:11:13 +00:00
---
2023-08-16 07:39:20 +00:00
apiVersion: codemowers.cloud/v1beta1
kind: MinioBucketClass
2023-08-01 18:11:13 +00:00
metadata:
name: dedicated
2023-08-16 07:39:20 +00:00
annotations:
kubernetes.io/description: "Dedicated Minio cluster"
2023-08-01 18:11:13 +00:00
spec:
2023-08-16 07:39:20 +00:00
reclaimPolicy: Retain
2023-08-01 18:11:13 +00:00
replicas: 4
storageClass: minio
podSpec:
containers:
- name: minio
image: mirror.gcr.io/minio/minio:RELEASE.2023-07-18T17-49-40Z@sha256:8879cd0b0c4087817430e21be3ad909d60e9da62fac3e8d9368d9fde51279229
2023-08-16 07:39:20 +00:00
imagePullPolicy: IfNotPresent
2023-08-01 18:11:13 +00:00
nodeSelector:
dedicated: storage
tolerations:
2023-08-16 07:39:20 +00:00
- effect: NoSchedule
key: dedicated
operator: Equal
value: storage
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2
namespace: minio-clusters
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
spec:
rules:
- host: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2.minio-clusters.k-space.ee
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2
port:
name: http
tls:
- hosts:
- "*.k-space.ee"
secretName: wildcard-tls
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2-console
namespace: minio-clusters
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
spec:
rules:
- host: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2-console.minio-clusters.k-space.ee
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dedicated-5ee6428f-4cb5-4c2e-90b5-364668f515c2-console
port:
name: http
tls:
- hosts:
- "*.k-space.ee"
secretName: wildcard-tls