addiing longorn and loki

This commit is contained in:
baschno
2025-01-03 00:02:11 +01:00
parent fc3af3dee4
commit 85a5b94dd8
7 changed files with 2853 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: longhorn-web-ui-cert
namespace: longhorn-system
spec:
secretName: longhorn-web-ui-tls
dnsNames:
- longhorn.k8s.internal.schnrbs.work
issuerRef:
name: cloudflare-cluster-issuer
kind: ClusterIssuer

View File

@@ -0,0 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-web-ui
namespace: longhorn-system
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: longhorn.k8s.internal.schnrbs.work
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: longhorn-frontend
port:
number: 80
tls:
- hosts:
- longhorn.k8s.internal.schnrbs.work
secretName: longhorn-web-ui-tls

View File

@@ -0,0 +1,18 @@
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: longhorn-web-ui
namespace: longhorn-system
spec:
properties:
entrypoints:
- websecure
routes:
- match: Host(`longhorn.k8s.internal.schnrbs.work`)
kind: Rule
services:
- name: longhorn-frontend
port: 80
tls:
secretName: longhorn-web-ui-tls

View File

@@ -0,0 +1,2 @@
longhornUI:
replicas: 1