fix traefik podmonitor
This commit is contained in:
parent
42338516d3
commit
e535c03936
|
@ -2,7 +2,6 @@ resources:
|
||||||
- prometheus.yaml
|
- prometheus.yaml
|
||||||
- prometheus-rbac.yaml
|
- prometheus-rbac.yaml
|
||||||
- prometheus-ingress.yaml
|
- prometheus-ingress.yaml
|
||||||
- traefik-podmonitor.yaml
|
|
||||||
|
|
||||||
namePrefix: prometheus-
|
namePrefix: prometheus-
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@ resources:
|
||||||
- servicemonitors/prometheus.yaml
|
- servicemonitors/prometheus.yaml
|
||||||
- servicemonitors/kube-state-metrics.yaml
|
- servicemonitors/kube-state-metrics.yaml
|
||||||
# - servicemonitors/node-exporter.yaml
|
# - servicemonitors/node-exporter.yaml
|
||||||
|
- podmonitors/traefik.yaml
|
||||||
- probes/blackbox-exporter.yaml
|
- probes/blackbox-exporter.yaml
|
||||||
|
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
|
|
@ -13,4 +13,4 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: traefik
|
app.kubernetes.io/name: traefik
|
||||||
podMetricsEndpoints:
|
podMetricsEndpoints:
|
||||||
- port: traefik
|
- port: metrics
|
Loading…
Reference in New Issue