can we bind AKS cluster to our own Azure Container Registry?

Bharani 40 Reputation points

How can we bind AKS cluster to our own Azure Container Registry?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
414 questions
0 comments No comments
{count} votes

Accepted answer
  1. v-vvellanki-MSFT 4,915 Reputation points Microsoft Vendor

    Hi @Bharani ,

    Thanks for contacting Microsoft Q&A platform.

    Assuming that you want to integrate your AKS cluster with your own Azure Container Registry and ensure that images from this registry only can be used to create pods on the aforementioned AKS cluster, you can:

    For more information please check this document. For how-to on enforcing Azure Policy for Kubernetes please check out this document.

    Hope this helps you.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Azar 20,680 Reputation points

    Hi there Bharani

    Thanks for using QandA platform.

    Guess this is possible, Create a new AKS cluster and integrate with an existing ACR using the az aks create command with the --attach-acr parameter. This command allows you to authorize an existing ACR in your subscription and configures the appropriate AcrPull role for the managed identity.

    For a detailed info follow the documentation below

    If this helps kindly accept the answer thanks much.

    0 comments No comments