This topic describes the networking requirements for connecting a Kubernetes cluster to Azure Arc and supporting various Arc-enabled Kubernetes scenarios.
Details
Generally, connectivity requirements include these principles:
All connections are TCP unless otherwise specified.
All HTTP connections use HTTPS and SSL/TLS with officially signed and verifiable certificates.
All connections are outbound unless otherwise specified.
To use a proxy, verify that the agents and the machine performing the onboarding process meet the network requirements in this article.
Azure Arc agents require the following outbound URLs on https://:443 to function.
For *.servicebus.windows.net, websockets need to be enabled for outbound access on firewall and proxy.
Endpoint (DNS)
Description
https://management.azure.com
Required for the agent to connect to Azure and register the cluster.
Required to pull container images for Azure Arc agents.
https://gbl.his.arc.azure.com
Required to get the regional endpoint for pulling system-assigned Managed Identity certificates.
https://*.his.arc.azure.com
Required to pull system-assigned Managed Identity certificates.
https://k8connecthelm.azureedge.net
az connectedk8s connect uses Helm 3 to deploy Azure Arc agents on the Kubernetes cluster. This endpoint is needed for Helm client download to facilitate deployment of the agent helm chart.
To translate the *.servicebus.windows.net wildcard into specific endpoints, use the command:
GET https://guestnotificationservice.azure.com/urls/allowlist?api-version=2020-01-01&location=<region>
To get the region segment of a regional endpoint, remove all spaces from the Azure region name. For example, East US 2 region, the region name is eastus2.
For example: *.<region>.arcdataservices.com should be *.eastus2.arcdataservices.com in the East US 2 region.
To see a list of all regions, run this command:
az account list-locations -o table
Get-AzLocation | Format-Table
Important
Azure Arc agents require the following outbound URLs on https://:443 to function.
For *.servicebus.usgovcloudapi.net, websockets need to be enabled for outbound access on firewall and proxy.
Endpoint (DNS)
Description
https://management.usgovcloudapi.net
Required for the agent to connect to Azure and register the cluster.
Required to pull container images for Azure Arc agents.
https://gbl.his.arc.azure.us
Required to get the regional endpoint for pulling system-assigned Managed Identity certificates.
https://usgv.his.arc.azure.us
Required to pull system-assigned Managed Identity certificates.
https://k8connecthelm.azureedge.net
az connectedk8s connect uses Helm 3 to deploy Azure Arc agents on the Kubernetes cluster. This endpoint is needed for Helm client download to facilitate deployment of the agent helm chart.
To translate the *.servicebus.usgovcloudapi.net wildcard into specific endpoints, use the command:
GET https://guestnotificationservice.azure.us/urls/allowlist?api-version=2020-01-01&location=region
To get the region segment of a regional endpoint, remove all spaces from the Azure region name. For example, East US 2 region, the region name is eastus2.
For example: *.<region>.arcdataservices.com should be *.eastus2.arcdataservices.com in the East US 2 region.
To see a list of all regions, run this command:
az account list-locations -o table
Get-AzLocation | Format-Table
Important
Azure Arc agents require the following outbound URLs on https://:443 to function.
For *.servicebus.chinacloudapi.cn, websockets need to be enabled for outbound access on firewall and proxy.
Endpoint (DNS)
Description
https://management.chinacloudapi.cn
Required for the agent to connect to Azure and register the cluster.
Required to fetch and update Azure Resource Manager tokens.
mcr.azk8s.cn
Required to pull container images for Azure Arc agents.
https://gbl.his.arc.azure.cn
Required to get the regional endpoint for pulling system-assigned Managed Identity certificates.
https://*.his.arc.azure.cn
Required to pull system-assigned Managed Identity certificates.
https://k8connecthelm.azureedge.net
az connectedk8s connect uses Helm 3 to deploy Azure Arc agents on the Kubernetes cluster. This endpoint is needed for Helm client download to facilitate deployment of the agent helm chart.
Container registry proxy servers for Azure China VMs.
Additional endpoints
Depending on your scenario, you may need connectivity to other URLs, such as those used by the Azure portal, management tools, or other Azure services. In particular, review these lists to ensure that you allow connectivity to any necessary endpoints: