Compare commits

...

2 Commits

4 changed files with 34 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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