feat(Prometheus): Add internal ingress

This commit is contained in:
Tanguy Herbron 2023-07-29 09:45:21 +02:00
parent 361e55a8c6
commit 38535140ed
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
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

View File

@ -3,5 +3,6 @@ resources:
- clusterrole.yaml - clusterrole.yaml
- clusterrolebinding.yaml - clusterrolebinding.yaml
- service.yaml - service.yaml
- ingress.yaml
- servicemonitor.yaml - servicemonitor.yaml
- prometheus.yaml - prometheus.yaml