-
Notifications
You must be signed in to change notification settings - Fork 440
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
Automatic RBAC support for kubeletstats receiver and k8sobserver extension #3155
Comments
We don't yet support automatic RBAC for the kubelet stats receiver so for now you'll need to follow the steps in the kubelet stats documentation. That being said, this is definitely something we could/should do, i'll add it to our backlog :) |
I mentioned the k8sobserver extension also in this ticket. How would we go about that? Do you want me to create a separate ticket for the extension? |
Maybe just change this issue's title to include it, thank you. |
This would be really helpful and it will align with the I would suggest taking into account the optional node metrics of the
|
I'll work on this as soon as #3206 is merged :) |
Component(s)
collector
Describe the issue you're reporting
There seems to be missing rbac permissions for the collector when trying to use receivers which query the K8s API.
There have been 2 instances which I have noticed:
k8sobserver
extension does not get the required rbac permissions. If I add the k8sattributes processor, then the permissions seem to be added.kubeletstats
receiver is throwing a 403 forbidden when trying to query node metrics:Expectation
The operator should automatically add permissions for the extensions/receivers to work. If not, what is the recommended method to add additional permissions to the collector?
Setup
Running a bunch of collectors as dameonset managed by the operator
The text was updated successfully, but these errors were encountered: