kube/minio-clusters/shared.yaml

79 lines
2.0 KiB
YAML
Raw Normal View History

2023-03-02 06:46:05 +00:00
---
2023-08-16 07:39:20 +00:00
apiVersion: codemowers.cloud/v1beta1
kind: MinioBucketClass
2023-03-02 06:46:05 +00:00
metadata:
name: shared
2023-08-16 07:39:20 +00:00
annotations:
kubernetes.io/description: "Shared Minio cluster"
2023-03-02 06:46:05 +00:00
spec:
2023-08-16 07:39:20 +00:00
reclaimPolicy: Retain
shared: true
2023-03-02 06:46:05 +00:00
replicas: 4
2023-08-16 07:39:20 +00:00
storageClass: minio
2023-03-02 06:46:05 +00:00
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-03-02 06:46:05 +00:00
nodeSelector:
dedicated: storage
tolerations:
2023-08-16 07:39:20 +00:00
- effect: NoSchedule
key: dedicated
operator: Equal
value: storage
2023-03-02 06:46:05 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2023-08-01 18:11:13 +00:00
name: shared
2023-03-02 06:46:05 +00:00
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:
2023-08-16 07:39:20 +00:00
- host: shared.minio-clusters.k-space.ee
2023-03-02 06:46:05 +00:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
2023-08-01 18:11:13 +00:00
name: shared
2023-03-02 06:46:05 +00:00
port:
name: http
tls:
- hosts:
- "*.k-space.ee"
2023-08-16 07:39:20 +00:00
secretName: wildcard-tls
2023-03-02 06:46:05 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2023-08-01 18:11:13 +00:00
name: shared-console
2023-03-02 06:46:05 +00:00
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:
2023-08-16 07:39:20 +00:00
- host: shared-console.minio-clusters.k-space.ee
2023-03-02 06:46:05 +00:00
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
2023-08-01 18:11:13 +00:00
name: shared-console
2023-03-02 06:46:05 +00:00
port:
name: http
tls:
- hosts:
- "*.k-space.ee"
2023-08-16 07:39:20 +00:00
secretName: wildcard-tls