Scraping of Kubernetes Pods on my company's kubernetes cluster

9 views
Skip to first unread message

HENG KUAN WEE _

unread,
Nov 4, 2020, 4:21:00 AM11/4/20
to Prometheus Users
Hi Everyone, 

Hope you all are doing well :) 

What did you do?
Deployed prometheus using helm in kubernetes cluster locally on my own cluster on my computer and on my company's cluster. Prometheus is configured (by changing values.yaml) to scrape kubernetes pods that have port's name "metrics", so that it can auto discover everytime such a deployment is made.
What did you expect to see?
Prometheus UI should show kubernetes-pods as targets on both my own cluster and my company's cluster
What did you see instead? Under which circumstances?
On my own cluster, everything works fine, everytime I make a deployment that have pods with port's name "metrics", it's added to my prometheus' targets and the metrics are scraped. 
However, when I deploy the exact same prometheus helm-chart (using the same values.yaml) to my company's cluster, no targets are being shown.

I suspect it might be some security issues with my company's cluster, but I am unsure how I should approach this issue. 
Reply all
Reply to author
Forward
0 new messages