I just installed Prometheus on my k8s cluster, when I go to targets page, it shows me so many DOWN
state in scrape job result.
What should I do to get the UP
result from Prometheus scrape? Did I miss something when setup?
As @Justinus Hermawan mentioned in the comments, the problem has occurred due to some Prometheus scrapes misconfiguration, which has to be solved by adjusting appropriate Prometheus configuration in relevant Kubernetes ConfigMap
. Evaluating the answer for any further contributors research.