add fluxcd prometheus scrapping

This commit is contained in:
Márcio Fernandes committed 2026-07-15 13:13:54 +00:00
1 parent 0c5013f156
commit 310f4e00f9
3 files changed
+39 -2

No files matched your search

@@ -0,0 +1,25 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: flux-system
namespace: flux-system
labels:
app.kubernetes.io/part-of: flux
app.kubernetes.io/component: monitoring
spec:
namespaceSelector:
matchNames:
- flux-system
selector:
matchExpressions:
- key: app
operator: In
values:
- helm-controller
- source-controller
- kustomize-controller
- notification-controller
- image-automation-controller
- image-reflector-controller
podMetricsEndpoints:
- port: http-prom