Compare commits

..

2 Commits

4 changed files with 34 additions and 24 deletions

View File

@ -1,16 +1,18 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana-ingress
namespace: monitoring
annotations:
kubernetes.io/ingress.class: "traefik-inter"
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`grafana.entos`)
services:
- name: grafana-svc
port: 80
ingressClassName: nginx-internal
rules:
- host: grafana.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: grafana-svc
port:
number: 80

View File

@ -3,6 +3,9 @@ kind: PersistentVolumeClaim
metadata:
name: grafana-pvc
namespace: monitoring
labels:
recurring-job.longhorn.io/source: enabled
recurring-job-group.longhorn.io/standard-pvc: enabled
spec:
accessModes:
- ReadWriteOnce

View File

@ -3,6 +3,9 @@ kind: PersistentVolumeClaim
metadata:
name: loki-pvc
namespace: monitoring
labels:
recurring-job.longhorn.io/source: enabled
recurring-job-group.longhorn.io/standard-pvc: enabled
spec:
accessModes:
- ReadWriteOnce

View File

@ -1,16 +1,18 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
annotations:
kubernetes.io/ingress.class: "traefik-inter"
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`prometheus.entos`)
services:
- name: prometheus-svc
port: 9090
ingressClassName: nginx-internal
rules:
- host: prometheus.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-svc
port:
number: 9090