Difference between revisions of "Aks errors"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
 
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal
 +
 +
 +
kubectl get clusterrolebinding aks-cluster-admin-binding-aad -o yaml

Revision as of 01:52, 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