-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
receiver/kubeletstats
cannot read /pods with nodes/proxy
permissions
#30272
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@Joibel your error message implies you are using the receiver creator, is that correct? If you do not use the receiver creator do you still experience an issue? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/kubeletstats
What happened?
Description
If I use kubeletstats with a clusterrole with
and with a receiver config of
I get
If I add
then the logged error goes away (and removing
nodes/proxy
has no effect)Expected Result
Successful scraping of
/pods
according to the readmeActual Result
Failure to read
/pods
Collector version
0.91.0
Environment information
Environment
Kubernetes 1.28.4 on Arm.
OpenTelemetry Collector configuration
Log output
Additional context
Removing
nodes/stats
from the cluster role gives a similar error from the path/stats/summary
so that part of the cluster role is working as expected.The text was updated successfully, but these errors were encountered: