Monitoring/manifests/prometheus/ingress.yaml

19 lines
377 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prometheus-ingress
namespace: monitoring
spec:
ingressClassName: nginx-internal
rules:
- host: prometheus.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-svc
port:
number: 9090