Create an Azure Red Hat OpenShift 4 private cluster

Alex 0 Reputation points
2026-04-22T07:11:59.6733333+00:00

When provisioning a private ARO cluster, what is the reason for enabling the ACR service endpoint on the master node subnet? This step was not required for the public cluster configuration.

https://learn.microsoft.com/en-us/azure/openshift/howto-create-private-cluster-4x

Azure Red Hat OpenShift
Azure Red Hat OpenShift

An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.


3 answers

Sort by: Most helpful
  1. Prashant Ranjan 0 Reputation points
    2026-04-22T08:16:58.1033333+00:00

    This difference comes down to how networking works in a private ARO cluster vs a public one.

    In a private ARO cluster, the cluster components (including the control plane / master nodes) don’t have public internet access. So anything they need — like pulling container images — has to go through private network paths.

    That’s where the ACR service endpoint comes in. By enabling the service endpoint on the master subnet, you’re allowing the cluster to securely reach Azure Container Registry over the Azure backbone instead of the public internet.

    In a public cluster, this isn’t required because the nodes can already access external endpoints over the internet, so they can reach ACR without additional configuration.

    In short:

    Private cluster → no outbound internet → needs service endpoints (or private endpoints) to reach ACR

    Public cluster → has internet access → no extra setup needed

    That’s why the step is required only for private cluster deployments.

    Was this answer helpful?


  2. Anonymous
    2026-04-22T08:13:09.3666667+00:00

    Hello Alex,

    Thank you for your question.

    In a private Azure Red Hat OpenShift (ARO) 4 cluster, the control plane and worker nodes do not have direct access to the public internet by default. Because of this restricted network design, the cluster needs an approved and private path to reach Azure services such as Azure Container Registry (ACR).

    Enabling the ACR service endpoint on the master node subnet ensures that the cluster can securely access ACR over the Azure backbone network instead of relying on public internet access. This is required for private clusters to pull container images from ACR in a supported and secure manner.

    In contrast, for a public ARO cluster, nodes already have outbound internet connectivity, so they can access ACR directly without needing a service endpoint configuration.

    So, in summary:

    • Public cluster: Internet access is available by default → no service endpoint needed for ACR
    • Private cluster: No public internet access → service endpoint (or private link) is required for ACR connectivity

    This is why the additional configuration step is required only in the private cluster deployment scenario as described in the documentation.

    Was this answer helpful?


  3. AI answer

    2026-04-22T07:12:14.2433333+00:00

    Enabling the Microsoft.ContainerRegistry service endpoint on the master (control plane) subnet is required so that the private ARO control-plane nodes can reach Azure Container Registry (ACR) over the virtual network without using public IP connectivity.

    In a private ARO cluster (--apiserver-visibility Private and --ingress-visibility Private), the control plane and worker nodes are placed in private subnets and are not exposed via public endpoints. To pull required container images (for the platform components and workloads) from ACR in this locked-down network model, the subnets hosting those nodes must have a direct, VNet-integrated path to ACR. The service endpoint Microsoft.ContainerRegistry on the master and worker subnets provides that path.

    For public clusters, outbound connectivity to ACR is typically achieved via public IP and standard system routes, so explicitly enabling the ACR service endpoint on the master subnet is not mandatory. In contrast, for private clusters, configuring the service endpoint on the master subnet is a prerequisite so the control plane can reliably access ACR without relying on public internet egress.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.