Open darnone opened 1 month ago
I have written to the Velero-users channel on clock but I have not received a reply.
I am attaching the velero pod and deployment velero-manifests.zip
try adding additionalLabels to serviceMonitor values
serviceMonitor: additionalLabels: release: kube-prometheus-stack
That did it. What led you find that fix?
What steps did you take and what happened: [A clear and concise description of what the bug is, and what commands you ran.) I have deployed velero into a namespace called velero using helmfile and I have prometheus-operator running in a namespace called monitoring. I have activated metrics with the following values:
The service monitor is created in the monitoring namespace but prometheus does not see it as a target. The service monitor produced is:
What did you expect to happen:
I expected prometheus to find the servicemonitor under service discovery and targets in prometheus UI and scrape metrics
The output of the following commands will help us better understand what's going on: (Pasting long output into a GitHub gist or other pastebin is fine.)
nothing appears abnormal in the prometheus or velero logs
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
I am using helmfile v0.166.0 The kube-prometheus-stack is working for default k8s services
Environment:
helm version
): v3.15.3/etc/os-release
): Amazon EC2 Linux