Difference between revisions of "Aks errors"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "Error from server (Forbidden): namespaces is forbidden: User "" cannot create resource "namespaces" in API group "" at the cluster scope: User does not have access to the reso...")
 
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
no - User does not have access to the resource in Azure. Update role assignment to allow access.
 
no - User does not have access to the resource in Azure. Update role assignment to allow access.
 +
 +
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
 +
 +
 +
kubectl get clusterrolebinding aks-cluster-admin-binding-aad -o yaml
 +
 +
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#azure-kubernetes-service-cluster-admin-role

Latest revision as of 10:38, 3 November 2022

Error from server (Forbidden): namespaces is forbidden: User "" cannot create resource "namespaces" in API group "" at the cluster scope: User does not have access to the resource in Azure. Update role assignment to allow access.

kubectl auth can-i create namespace

no - User does not have access to the resource in Azure. Update role assignment to allow access.

https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal

kubectl get clusterrolebinding aks-cluster-admin-binding-aad -o yaml

https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#azure-kubernetes-service-cluster-admin-role