Can get fluxcd install podmonitor/serviceMonitor to get scraping from prometheus #4543
Unanswered
bmillemathias
asked this question in
General
Replies: 1 comment 1 reply
-
I eventually created podmonitor (see below) but I would expect fluxcd to be able to install this after prometheus-operator is installed. apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: helm-controller
namespace: flux-system
labels:
app: helm-controller
spec:
selector:
matchLabels:
app: helm-controller
podMetricsEndpoints:
- port: http-prom |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I installed fluxcd into a brand new cluster using the
bootstrap gitlabl
, then with it I've installed kube-prometheus-stack helm and loki. Now I'd like to get fluxcd servicemonitor deployed so I can monitor it.Quite surprising because https://fluxcd.io/flux/monitoring/metrics/ deals with monitoring but does not mention the steps required to be able to monitor flux.
How can I do ? I did not see
flux install
was able to do that.Best
Beta Was this translation helpful? Give feedback.
All reactions