Difference Microsoft.Kubernetes vs Microsoft.ContainerService

Shivam Anand 1 Reputation point
2021-09-07T18:10:01.89+00:00

What is the difference between the two resource providers: Microsoft.Kubernetes and Microsoft.ContainerService ?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
636 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,853 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,921 Reputation points MVP
    2021-09-08T00:52:02.187+00:00

    Hi @Shivam Anand

    AKS cluster identity permissions
    The following permissions are used by the AKS cluster identity, which is created and associated with the AKS cluster. Each permission is used for the reasons below:
    AKS CLUSTER IDENTITY PERMISSIONS

    Microsoft.ContainerService/managedClusters/*  
    

    You can use Azure role-based access control (Azure RBAC) to control access to these credentials. These Azure roles let you define who can retrieve the kubeconfig file, and what permissions they then have within the cluster.

    The two built-in roles are:

    Azure Kubernetes Service Cluster Admin Role

    • Allows access to Microsoft.ContainerService/managedClusters/listClusterAdminCredential/action API call.
      This API call lists the cluster admin credentials.
    • Downloads kubeconfig for the clusterAdmin role.
      Azure Kubernetes Service Cluster User Role
    • Allows access to Microsoft.ContainerService/managedClusters/listClusterUserCredential/action API call.
      This API call lists the cluster user credentials.
    • Downloads kubeconfig for clusterUser role.

    List Cluster User Credentials using REST API
    https://learn.microsoft.com/en-us/azure/aks/concepts-identity#aks-cluster-identity-permissions

    To Register providers required to use Microsoft.Kubernetes

    az provider register --namespace Microsoft.Kubernetes  
    az provider register --namespace Microsoft.KubernetesConfiguration  
    

    If the Answer is helpful, please click Accept Answer and up-vote, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. SRIJIT-BOSE-MSFT 4,326 Reputation points Microsoft Employee
    2021-09-17T06:30:22.883+00:00

    @Shivam Anand , Thank you for your question. It has already been answered at https://learn.microsoft.com/en-us/answers/questions/457980/microsoftkubernetes-and-microsoftkubernetesconfigu.html

    Azure Kubernetes Service is provided by Microsoft.ContainerService Resource Provider. Microsoft.Kubernetes and Microsoft.KubernetesConfiguration provide Azure Kubernetes on Stack HCI.

    ----
    Hope this helps.

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments