You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a few errors related to missing permissions that don't appear to be on either the clusterrole or role.
First error is missing permissions on csidrivers:
k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.CSIDriver: failed to list *v1.CSIDriver: csidrivers.storage.k8s.io is forbidden: User "system:serviceaccount:infrastructure:cluster-autoscaler-aws-cluster-autoscaler" cannot list resource "csidrivers" in API group "storage.k8s.io" at the cluster scope
Second error is missing permissions on csistoragecapacities:
k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: csistoragecapacities.storage.k8s.io is forbidden: User "system:serviceaccount:infrastructure:cluster-autoscaler-aws-cluster-autoscaler" cannot list resource "csistoragecapacities" in API group "storage.k8s.io" at the cluster scope
How to reproduce it (as minimally and precisely as possible):
By the looks of it, you just need to try to start the service with this general environment.
Anything else we need to know?:
Looking at the k8s resource outputs, checking my api-resources, and looking at the templates for the clusterrole and role, these permissions appear to not be being added to the serviceaccount, so should theoretically be a simple chart patch.
The text was updated successfully, but these errors were encountered:
kevin-lindsay-1
changed the title
[Bug, Cluster Autoscaler]Errors coming from missing permissions for CSI-related API resources
[Bug, Cluster Autoscaler] Errors coming from missing permissions for CSI-related API resources
Jul 23, 2021
Which component are you using?:
Cluster autoscaler
What version of the component are you using?:
Chart version
9.9.2
Image version
1.21.0
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
AWS EKS
What did you expect to happen?:
No persistent errors when running the autoscaler
What happened instead?:
Getting a few errors related to missing permissions that don't appear to be on either the
clusterrole
orrole
.First error is missing permissions on
csidrivers
:Second error is missing permissions on
csistoragecapacities
:How to reproduce it (as minimally and precisely as possible):
By the looks of it, you just need to try to start the service with this general environment.
Anything else we need to know?:
Looking at the k8s resource outputs, checking my
api-resources
, and looking at the templates for theclusterrole
androle
, these permissions appear to not be being added to theserviceaccount
, so should theoretically be a simple chart patch.The text was updated successfully, but these errors were encountered: