Open
Description
Describe the bug
self-managed Prometheus deployment does not work for retina windows pods.
To Reproduce
Steps to reproduce the behavior:
- Deploy retina on windows
- Go to (https://github.com/microsoft/retina/blob/main/docs/02-Installation/04-prometheus.md)
- Follow the recommended steps
- We will Retina targets are not resolved.
- Metrics are not seen in Graphana
Expected behavior
Retina pod pool to be shown in the target with 10093 metrics endpoint recognized.
Screenshots
If applicable, add screenshots to help explain your problem.
this image shows that retina targets are not resolved.
Platform (please complete the following information):
- OS: Windows 2022
- Kubernetes Version: [e.g. 1.22]
- Retina Version: Latest
Additional context
The root cause:
- The retina win pods require annotation - prometheus.io/scrape = true but it is not seen.
- Here is how retain win daemon-set looks like --
kubectl describe daemonsets/retina-agent-win -n kube-system | findstr prometheus
prometheus.io/port: 10093
prometheus.io/scrape: true
kubectl describe pods/retina-agent-win-w2jdp -n kube-system | findstr prometheus
- Scrape job looks for container name retina but retina windows pods look for retinawin
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status