2024-12-05 17:50:14 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
2023-07-29 07:45:21 +00:00
|
|
|
metadata:
|
|
|
|
name: prometheus-ingress
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
2024-12-05 17:50:14 +00:00
|
|
|
ingressClassName: nginx-internal
|
|
|
|
rules:
|
|
|
|
- host: prometheus.entos
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: prometheus-svc
|
|
|
|
port:
|
|
|
|
number: 9090
|