From fe25a02d6adf99b53f5fa800f0cf56cb3800e417 Mon Sep 17 00:00:00 2001 From: Houssem Dellai Date: Mon, 23 Sep 2024 15:11:31 +0200 Subject: [PATCH] 02 --- 02_kubernetes_aks/Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/02_kubernetes_aks/Readme.md b/02_kubernetes_aks/Readme.md index c15383b..37bf80e 100644 --- a/02_kubernetes_aks/Readme.md +++ b/02_kubernetes_aks/Readme.md @@ -107,6 +107,14 @@ Or this link to create it through the command line: [docs.microsoft.com/en-us/az az acr create --name acraks013579 -g rg-aks-cluster --sku Standard ``` +### 4.1. Attach the ACR to the AKS cluster + +`AKS` needs to be attached to the `ACR` to be able to pull images from it. + +```sh +az aks update --name aks-cluster --resource-group rg-aks-cluster --attach-acr acraks013579 +``` + ### 4.2. Building an image in ACR You can use `docker build` to build an image in your local machine, assuming you have docker installed.