Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upKubernetes - excessive requests to apiserver - 1.3.0 #2282
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm not sure if this is normal/expected. One area where my config deviates from the example k8s config is that it doesn't have a section where it scrapes the apiserver. Should it? |
This comment has been minimized.
This comment has been minimized.
|
Even if you are not scraping the apiserver, a reason why Prometheus would do requests is for Kubernetes SD purposes. However, requests for that reason would only occur when initiating the discovery and then every To figure out whether is comes from the discovery part or the actual scraping, can you tell us if you are scraping the apiserver, as in, what targets do you see in the web UI This is pretty hard to debug for us but an excellent example that we should get started with instrumenting Prometheus with OpenTracing API (discussed here). |
This comment has been minimized.
This comment has been minimized.
|
Thanks for your response. I have verified in targets that the node is being scraped, but not the apiserver itself. The request burst from prometheus to apiserver is periodic, but it is more like every 10 seconds than every 10 minutes. OpenTracing is next on my list to install/configure into my cluster, I'll work on that now. :) I'll do some more digging (if it were not an https endpoint I'd tcpdump it) |
brian-brazil
added
the
component/service discovery
label
Jul 7, 2017
brian-brazil
added
priority/P3
help wanted
labels
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
|
This issue is quite old and we never found a reason why such repeated requests could be happening. There have also been no other reports and we've gone through several updates of the client library, potentially fixing this as a side effect. Closing until it gets observed again. |
fabxc
closed this
Aug 1, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
rrichardson commentedDec 14, 2016
•
edited
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment
Alertmanager version:
Prometheus configuration file: