K3s-cluster/monitoring/grafana/ingress.yaml
Tanguy Herbron 838ccaccf2 feat(grafana): Add ingress
Basic ingress for grafana (beta) and force some containers to specific node (beta environment)
2022-09-21 18:17:32 +02:00

24 lines
581 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana-ingress
namespace: monitoring
annotations:
kubernetes.io/ingress.class: "traefik"
spec:
tls:
- secretName: grafana-beta-tls
hosts:
- grafana.beta.halia.dev
rules:
- host: grafana.beta.halia.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: loki-grafana
port:
number: 80