Hello list
i am trying to scrape from my 1.4 K8S Cluster with the new Prometheus 20.
but i have problems with the certificates.
I get following error messages from Prometheus:
- job_name: 'kubernetes-apiserver-cadvisor'
¦ tls_config:
¦ ¦ ca_file: /opt/prometheus/etc/ca.pem
¦ ¦ cert_file: /opt/prometheus/etc/admin.pem
¦ ¦ key_file: /opt/prometheus/etc/admin-key.pem
¦ ¦ insecure_skip_verify: true
¦ kubernetes_sd_configs:
¦ ¦ role: endpoints
¦ scheme: https
i thought with insecure_skip_verify: true the certificate should not be verified, but the logs say other wise.
i already triple checked the pem files if i have the right one. the same files are working fine with kubectl.
any idea what the problem could be?
thanks in advance.
Mark