helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Prometheus can't scrape the endpoint because of the ever changing pod IP

Open semoac opened this issue 3 years ago • 2 comments

When using secure installations, and your own certificates, Prometheus will fail the scrapping because the pod IP was not in the original CSR.

The error on Prometheus looks like this:

Get https://10.6.26.160:8080/_status/vars: x509: certificate is valid for 127.0.0.1, not 10.6.26.160

I propose #36 to fix the problem.

semoac avatar Nov 06 '20 16:11 semoac

ran into this issue also

rayjanoka avatar Feb 08 '22 06:02 rayjanoka

Same, just about to disable prometheus and serviceMonitor to deploy my own ServiceMonitor definition.

shousper avatar Nov 14 '22 06:11 shousper