unable to access AKS resources

MUSYOKA KILONZO 41 Reputation points
2023-06-12T13:47:35.2266667+00:00

User's image

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.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    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 comments

    Comments have been turned off. Learn more

  2. MUSYOKA KILONZO 41 Reputation points
    2023-06-13T12:32:58.43+00:00

    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.

    0 comments No comments

  3. AirGordon 7,165 Reputation points
    2023-06-12T15:09:55.2633333+00:00

    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.