Files
infra-prod/deploy/prometheus/manifests/prometheus-k8s-ingress.yaml

25 lines
501 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
name: prometheus-k8s
namespace: monitoring
spec:
ingressClassName: nginx
rules:
- host: metrics.prod.panic.haus
http:
paths:
- backend:
service:
name: prometheus-k8s
port:
name: web
path: /
pathType: Prefix
tls:
- hosts:
- metrics.prod.panic.haus
secretName: monitoring-tls