Skip to content

Latest commit

 

History

History
76 lines (51 loc) · 3.67 KB

aks-extension-attach-azure-container-registry.md

File metadata and controls

76 lines (51 loc) · 3.67 KB
title description author ms.topic ms.date ms.author ms.service
Attach to Azure Container Registry (ACR) using the Azure Kubernetes Service (AKS) extension for Visual Studio Code
Learn how to attach to Azure Container Registry (ACR) using the Azure Kubernetes Service (AKS) extension for Visual Studio Code.
qpetraroia
how-to
07/15/2024
qpetraroia
azure-kubernetes-service

Attach to Azure Container Registry (ACR) using the Azure Kubernetes Service (AKS) extension for Visual Studio Code

In this article, you learn how to attach to Azure Container Registry (ACR) using the Azure Kubernetes Service (AKS) extension for Visual Studio Code.

Prerequisites

Before you begin, make sure you have the following resources:

Attach your Azure container registry to your AKS cluster

You can access the screen for attaching your container registry to your AKS cluster using the command palette or the Kubernetes view.

  1. On your keyboard, press Ctrl+Shift+P to open the command palette.

  2. Enter the following information:

    • Subscription: Select the Azure subscription that holds your resources.
    • ACR Resource Group: Select the resource group for your container registry.
    • Container Registry: Select the container registry you want to attach to your cluster.
    • Cluster Resource Group: Select the resource group for your cluster.
    • Cluster: Select the cluster you want to attach to your container registry.
  3. Select Attach.

    You should see a green checkmark, which means your container registry is attached to your AKS cluster.

  1. In the Kubernetes tab, under Clouds > Azure > your subscription > Automated Deployments, right click on your cluster and select Attach ACR to Cluster.

  2. Enter the following information:

    • Subscription: Select the Azure subscription that holds your resources.
    • ACR Resource Group: Select the resource group for your container registry.
    • Container Registry: Select the container registry you want to attach to your cluster.
    • Cluster Resource Group: Select the resource group for your cluster.
    • Cluster: Select the cluster you want to attach to your container registry.
  3. Select Attach.

    You should see a green checkmark, which means your container registry is attached to your AKS cluster.


For more information, see AKS extension for Visual Studio Code features.

Product support and feedback

If you have a question or want to offer product feedback, please open an issue on the AKS extension GitHub repository.

Next steps

To learn more about other AKS add-ons and extensions, see Add-ons, extensions, and other integrations for AKS.