try prometheus
This commit is contained in:
26
deploy/prometheus/ingress-prometheus.yaml
Normal file
26
deploy/prometheus/ingress-prometheus.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: prometheus-ingress
|
||||
namespace: monitoring
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||
nginx.ingress.kubernetes.io/proxy-buffer-size: "64k"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- monitoring.prod.panic.haus
|
||||
secretName: monitoring-tls
|
||||
rules:
|
||||
- host: monitoring.prod.panic.haus
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: prometheus-k8s # service name created by Prometheus operator for the Prom instance
|
||||
port:
|
||||
name: web # the Prometheus service uses port name "web" for 9090
|
||||
Reference in New Issue
Block a user