feat(Prometheus): Add internal ingress
This commit is contained in:
parent
361e55a8c6
commit
38535140ed
23
manifests/prometheus/ingress.yaml
Normal file
23
manifests/prometheus/ingress.yaml
Normal 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user