To solve the problem,First enable Azure RBAC on the AKS cluster using the below azure cli command.
az aks update -g myResourceGroup -n myAKSCluster --enable-azure-rbac
Now proceed to assign Azure Kubernetes Service RBAC Admin role.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am unable to access kubernetes resources in a Azure Kubernetes cluster,I have the owner role within the cluster and i am also the global admin/Owner of the subscription where the cluster is deployed.I am getting the error above,Kindly assist.
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
2 deleted commentsComments have been turned off. Learn more
To solve the problem,First enable Azure RBAC on the AKS cluster using the below azure cli command.
az aks update -g myResourceGroup -n myAKSCluster --enable-azure-rbac
Now proceed to assign Azure Kubernetes Service RBAC Admin role.
Some Azure resources differentiate RBAC roles between the control plane and the data plane.
Whilst you have significant privileges on the Control plane, you need to be assigned them explicitly on the data plane. Assuming that you have selected the model of Azure RBAC for Kubernetes Authorization; The role you should assign is the Azure Kubernetes Service RBAC Admin.
Other services like Key Vault (w/ Azure role-based access control) behave in this same way.