Overview
The Azure ACR add-on facilitates access to Azure ACR for managed Kubernetes clusters.Supported Providers
- All providers are supported
Prerequisites
- The Azure Workload Identity add-on must be enabled for your cluster.
How to Enable
You can enable the Azure ACR add-on for your Kubernetes cluster either during the cluster creation process or at any time afterwards. The add-on requires the client ID of the Azure workload identity that has pull access to your registry.At Cluster Creation
-
Through Cluster Manifest: Add the following snippet to your cluster manifest when creating the cluster:
YAML
-
Using the Console: If you’re creating the cluster through the console, navigate to
Add-ons, find theAzure ACRadd-on in the list of available add-ons, toggle it on, and enter the client ID.
After Cluster Creation
If the Azure ACR add-on was not enabled during the cluster creation, you can still enable it using the following methods:- Direct Edit & Apply: Navigate to your cluster in the Console, use the
Edit & Applyoption, and add the manifest snippet above. - CLI: Add the snippet to your cluster manifest and apply it with
cpln apply. - Using the Console: Navigate to
Add-onsof your cluster, find theAzure ACRadd-on, toggle it on, and enter the client ID.