Tanguy Herbron
838ccaccf2
Basic ingress for grafana (beta) and force some containers to specific node (beta environment)
24 lines
581 B
YAML
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
|