benediktarnold opened a new issue #282:
URL: https://github.com/apache/solr-operator/issues/282


   Hi!
   
   My prometheus exporter pod was constantly restarting because the liveness 
probe timed out. I've noticed a high cpu and memory usage on the exporter pod 
as well even though I'm only scraping a 3 node solr cluster. Since 
https://github.com/apache/solr-operator/pull/83 does not allow to change the 
liveness probe settings on `SolrPrometheusExporter` resources, I've deployed 
the pod manually with a much less aggressive liveness probe configuration like:
   
           livenessProbe:
             failureThreshold: 3
             httpGet:
               path: /metrics
               port: 8080
               scheme: HTTP
             initialDelaySeconds: 20
             periodSeconds: 30
             successThreshold: 1
             timeoutSeconds: 5
             
   With that setting the CPU and memory usage decreased a lot. Please see the 
attached grafana screenshot of the cpu and memory usage of the prometheus 
exporter pod. Green is the pod deployed with `SolrPrometheusExporter` and 
orange is the pod I've deployed manually with the above settings.
   
   <img width="1050" alt="Bildschirmfoto 2021-07-09 um 13 10 25" 
src="https://user-images.githubusercontent.com/178772/125071252-571caa00-e0b9-11eb-8661-e2cdb2ac48bd.png";>
   
             
   Please allow to overwrite livenessProbe settings on `SolrPrometheusExporter` 
resources.
   
   Keep up the good work and thanks very much!
   Ben


-- 
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