Service discovery using “prometheus.io/*” annotations does not work out of the box in Kubernetes. It can be done with a custom “relabel_config” (https://gist.github.com/reachlin/a98b90afcbff4604c90c183a0169474f). In Kubernetes we need a custom ServiceMonitor:
Month: October 2020
Get certificates from CertManager in Kubernetes
Get details of a all certificates in a namespace: Get details of a certificate in a namespace: