k8s-cluster/yaml/monitoring/grafana-ingress.yaml

19 lines
350 B
YAML
Raw Normal View History

2024-05-17 22:03:38 -04:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana
annotations:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: grafana.${CLUSTER_DOMAIN}
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: grafana
port:
number: 80