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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to