24 lines
521 B
YAML
24 lines
521 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: prometheus-ingress
|
||
|
namespace: monitoring
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: "traefik-inter"
|
||
|
spec:
|
||
|
tls:
|
||
|
- secretName: prometheus-beta-tls
|
||
|
hosts:
|
||
|
- prometheus.beta.entos
|
||
|
rules:
|
||
|
- host: prometheus.beta.entos
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: prometheus-svc
|
||
|
port:
|
||
|
number: 9090
|