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
I've an existing EKS cluster. I want to attach auto-scaler to the EKS cluster.
When I run the auto-scaler bash script I get the following error during
kubectl apply -f cluster-auto-scaler.yaml
Name: "cluster-autoscaler", Namespace: "kube-system"
from server for: "./cluster-autoscaler.yaml": serviceaccounts "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "serviceaccounts" in API group "" in the namespace "kube-system"
Error from server (Forbidden): error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=clusterroles", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=ClusterRole"
Name: "cluster-autoscaler", Namespace: ""
from server for: "./cluster-autoscaler.yaml": clusterroles.rbac.authorization.k8s.io "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope
Error from server (Forbidden): error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=roles", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=Role"
Name: "cluster-autoscaler", Namespace: "kube-system"
from server for: "./cluster-autoscaler.yaml": roles.rbac.authorization.k8s.io "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "roles" in API group "rbac.authorization.k8s.io" in the namespace "kube-system"
Error from server (Forbidden): error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=clusterrolebindings", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding"
Name: "cluster-autoscaler", Namespace: ""
from server for: "./cluster-autoscaler.yaml": clusterrolebindings.rbac.authorization.k8s.io "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "clusterrolebindings" in API group "rbac.authorization.k8s.io" at the cluster scope
Error from server (Forbidden): error when retrieving current configuration of:
Resource: "rbac.authorization.k8s.io/v1, Resource=rolebindings", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=RoleBinding"
Name: "cluster-autoscaler", Namespace: "kube-system"
from server for: "./cluster-autoscaler.yaml": rolebindings.rbac.authorization.k8s.io "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "rolebindings" in API group "rbac.authorization.k8s.io" in the namespace "kube-system"
Error from server (Forbidden): error when retrieving current configuration of:
Resource: "apps/v1, Resource=deployments", GroupVersionKind: "apps/v1, Kind=Deployment"
Name: "cluster-autoscaler", Namespace: "kube-system"
from server for: "./cluster-autoscaler.yaml": deployments.apps "cluster-autoscaler" is forbidden: User "user-role" cannot get resource "deployments" in API group "apps" in the namespace "kube-system"
The text was updated successfully, but these errors were encountered:
I've an existing EKS cluster. I want to attach auto-scaler to the EKS cluster.
When I run the auto-scaler bash script I get the following error during
kubectl apply -f cluster-auto-scaler.yaml
The text was updated successfully, but these errors were encountered: