Skip to content

Scrape etcd metrics without providing certificates #597

Answered by govardha
govardha asked this question in General
Discussion options

You must be logged in to vote

I was able to figure this out, further I also had issues in scraping metrics in from other core k8s components. Right out of the box at least in my on prem cluster, I was only able to get coredns metrics. I wasn't getting any metrics from etcd/kubernetes-apiserver/kubernetes-proxy/kubernetes-controller-manager/kubernetes-scheduler.

The k8s community has changed how the metrics are exposed and the splunk-otel documentation is referring to the older way of scraping metrics. Further it looks like most people are using prometheus to start with, so this required a bit of digging around.

The kube-controller-manager wasn't listening in the standard http port(10252), but the https port(10257). so…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by govardha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #592 on December 08, 2022 16:19.