Rediģēt

Kopīgot, izmantojot


Azure Arc-enabled Kubernetes system requirements

This article describes the basic requirements for connecting a Kubernetes cluster to Azure Arc, along with system requirement information related to various Arc-enabled Kubernetes scenarios.

Cluster requirements

Azure Arc-enabled Kubernetes works with any Cloud Native Computing Foundation (CNCF) certified Kubernetes clusters. This includes clusters running on other public cloud providers (such as GCP or AWS) and clusters running on your on-premises data center (such as VMware vSphere or Azure Stack HCI).

You must also have a kubeconfig file and context pointing to your cluster.

The cluster must have at least one node with operating system and architecture type linux/amd64 and/or linux/arm64.

Important

Many Arc-enabled Kubernetes features and scenarios are supported on ARM64 nodes, such as cluster connect and viewing Kubernetes resources in the Azure portal. However, if using Azure CLI to enable these scenarios, Azure CLI must be installed and run from an AMD64 machine. Azure RBAC on Arc-enabled Kubernetes is currently not supported on ARM64 nodes. For access to ARM64 nodes, use Kubernetes RBAC.

Currently, Azure Arc-enabled Kubernetes cluster extensions aren't supported on ARM64-based clusters, except for Flux (GitOps). To install and use other cluster extensions, the cluster must have at least one node of operating system and architecture type linux/amd64.

Compute and memory requirements

The Arc agents deployed on the cluster require:

  • At least 850 MB of free memory
  • Capacity to use approximately 7% of a single CPU

For a multi-node Kubernetes cluster environment, pods can get scheduled on different nodes.

Management tool requirements

To connect a cluster to Azure Arc, you'll need to use either Azure CLI or Azure PowerShell.

For Azure CLI:

  • Install or upgrade Azure CLI to the latest version.

  • Install the latest version of connectedk8s Azure CLI extension:

    az extension add --name connectedk8s
    

For Azure PowerShell:

Note

When you deploy the Azure Arc agents to a cluster, Helm v. 3.6.3 will be installed in the .azure folder of the deployment machine. This Helm 3 installation is only used for Azure Arc, and it doesn't remove or change any previously installed versions of Helm on the machine.

Microsoft Entra identity requirements

To connect your cluster to Azure Arc, you must have a Microsoft Entra identity (user or service principal) which can be used to log in to Azure CLI or Azure PowerShell and connect your cluster to Azure Arc.

This identity must have Read and Write permissions on the Azure Arc-enabled Kubernetes resource type (Microsoft.Kubernetes/connectedClusters). If connecting the cluster to an existing resource group (rather than a new one created by this identity), the identity must have Read permission for that resource group.

The Kubernetes Cluster - Azure Arc Onboarding built-in role can be used for this identity. This role is useful for at-scale onboarding, as it has only the granular permissions required to connect clusters to Azure Arc, and doesn't have permission to update, delete, or modify any other clusters or other Azure resources.

Azure resource provider requirements

To use Azure Arc-enabled Kubernetes, the following Azure resource providers must be registered in your subscription:

  • Microsoft.Kubernetes
  • Microsoft.KubernetesConfiguration
  • Microsoft.ExtendedLocation

You can register the resource providers using the following commands:

Azure PowerShell:

Connect-AzAccount
Set-AzContext -SubscriptionId [subscription you want to onboard]
Register-AzResourceProvider -ProviderNamespace Microsoft.Kubernetes
Register-AzResourceProvider -ProviderNamespace Microsoft.KubernetesConfiguration
Register-AzResourceProvider -ProviderNamespace Microsoft.ExtendedLocation

Azure CLI:

az account set --subscription "{Your Subscription Name}"
az provider register --namespace Microsoft.Kubernetes
az provider register --namespace Microsoft.KubernetesConfiguration
az provider register --namespace Microsoft.ExtendedLocation

You can also register the resource providers in the Azure portal.

Network requirements

Be sure that you have connectivity to the required endpoints for Azure Arc-enabled Kubernetes.

Next steps