Prometheus Scraping with Secure Port #1477
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
What version of descheduler are you using?
descheduler version: 0.29.0
Does this issue reproduce with the latest release?
Yes
Which descheduler CLI options are you using?
Please provide a copy of your descheduler policy config file
N/A
What k8s version are you using (
kubectl version
)?kubectl version
OutputWhat did you do?
I am trying to scrape descheduler with an OpenTelemetry collector running as a Daemonset however because there is no option to run a port insecure there is no way that I can tell to scrape the metrics off the pod.
helm install with the following values:
run a curl to pod like
will fail and OpenTelemetry Collector's prometheus scraper can't connect.
What did you expect to see?
I can scrape prometheus metrics. I'd love to just have an insecure port that can be used.
What did you see instead?
The underlying problem seems to be Descheduler decided to use the same http server as API Server which also leads to extraneous Prometheus metrics like the ones below being introduced which adds noise and confusion.
The text was updated successfully, but these errors were encountered: