RBAC Issues with Selenium Grid Helm Chart and Keda Autoscaling: How to Resolve or Bypass RBAC Restrictions? #2389
Replies: 11 comments 9 replies
-
Set this config key to false. |
Beta Was this translation helpful? Give feedback.
-
Yes, |
Beta Was this translation helpful? Give feedback.
-
The error arises because Keda requires RBAC permissions to manage resources like ClusterRole and ClusterRoleBinding. Without these permissions, Keda cannot initialize properly, causing issues with autoscaling. |
Beta Was this translation helpful? Give feedback.
-
To enable autoscaling without full RBAC, you could use Kubernetes' Horizontal Pod Autoscaler (HPA) as an alternative. HPA can handle scaling based on metrics without requiring Keda's RBAC permissions. |
Beta Was this translation helpful? Give feedback.
-
If using Keda is essential, you can request limited RBAC permissions from your cluster admin or configure namespace-scoped roles, avoiding global permissions like ClusterRole. Ensure Keda operates within the boundaries of your project’s RBAC policies. |
Beta Was this translation helpful? Give feedback.
-
Tried to deploy a selenium-grid Helm chart with autoscaling functionality using Keda, but encountered RBAC issues related to
rbac.authorization.k8s.io
, getting the following error:resource rbac.authorization.k8s.io:ClusterRole is not permitted in project
. I observed errors in several roles, includingClusterRole
,ClusterRoleBinding
,Role
, andRoleBinding
. I was wondering if there is any way to enable autoscaling forselenium-grid
without RBAC because if I disable it, the Keda pods are refusing to start.Beta Was this translation helpful? Give feedback.
All reactions