Difference between revisions of "Aks errors"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
kubectl get clusterrolebinding aks-cluster-admin-binding-aad -o yaml | 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