You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 (use helm version): v3.15.3
helm chart version and app version: velero-7.1.1
Kubernetes version: v1.28.11-eks-db838b0
Kubernetes installer & version: asdf
Cloud provider or hardware configuration: AWS EKS
OS (e.g. from /etc/os-release): Amazon EC2 Linux
The text was updated successfully, but these errors were encountered:
I have written to the Velero-users channel on clock but I have not received a reply.
darnone
changed the title
Velero Service Monitor I snot discovered on
Velero Service Monitor is not discovered by Prometheus Operator (kube-prometheus -stack)
Jul 24, 2024
Prometheus discovers PodMonitors and ServiceMonitors within its namespace, that are labeled with the same release tag as the prometheus-operator release
You can change this behaviour with the prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues but it's more a monitoring issue than velero one.
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 LinuxThe text was updated successfully, but these errors were encountered: