K3s-cluster/monitoring/grafana/ingress.yaml

24 lines
581 B
YAML
Raw Normal View History

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