Hello folks,
I'm want to connect prometheus running locally on my machine to k8 cluster running somewhere in a data center. For prometheus to talk to the k8 cluster, i give it the kubeconfig that is used by local kubectl, via "kuernetes_sd_config.kubeconfig_file" config param.
The problem I face now is that the targets are not visible in the ui even when prom has successfully discovered them and is also successfully scraping them. This is confirmed by logs and tcpdump.
Prom version = 2.51. Prom config is pretty minimal and is shared in message below.
It'd be great if someone could help here. Thanks!