tiimbz commented on issue #483:
URL: https://github.com/apache/solr-operator/issues/483#issuecomment-1361368911
We are having the same issue. The `prometheus.io/port` annotation is set to
port `80`, which doesn't correspond with the port of the pod. This causes
Prometheus to fail to scrape the service endpoint.
We've also bypassed the problem by enabling scraping of the pods directly:
```
customKubeOptions:
podOptions:
annotations:
prometheus.io/port: "8080"
prometheus.io/path: /metrics
prometheus.io/scrape: "true"
prometheus.io/scheme: http
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]