feat: route observability through one tailscale endpoint
This commit is contained in:
17
infrastructure/addons/observability/prometheus-ingress.yaml
Normal file
17
infrastructure/addons/observability/prometheus-ingress.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: prometheus
|
||||
namespace: observability
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /prometheus
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: observability-kube-prometh-prometheus
|
||||
port:
|
||||
number: 9090
|
||||
Reference in New Issue
Block a user