You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/tutorial-kubernetes-deploy-cluster.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Kubernetes on Azure tutorial - Create an Azure Kubernetes Service (AKS) cluster
3
3
description: In this Azure Kubernetes Service (AKS) tutorial, you learn how to create an AKS cluster and use kubectl to connect to the Kubernetes main node.
4
4
ms.topic: tutorial
5
-
ms.date: 02/14/2024
5
+
ms.date: 06/10/2024
6
6
author: schaffererin
7
7
ms.author: schaffererin
8
8
@@ -18,7 +18,7 @@ Kubernetes provides a distributed platform for containerized applications. With
18
18
In this tutorial, part three of seven, you deploy a Kubernetes cluster in AKS. You learn how to:
19
19
20
20
> [!div class="checklist"]
21
-
21
+
>
22
22
> * Deploy an AKS cluster that can authenticate to an Azure Container Registry (ACR).
23
23
> * Install the Kubernetes CLI, `kubectl`.
24
24
> * Configure `kubectl` to connect to your AKS cluster.
@@ -98,15 +98,15 @@ For information about AKS resource limits and region availability, see [Quotas,
98
98
99
99
To allow an AKS cluster to interact with other Azure resources, the Azure platform automatically creates a cluster identity. In this example, the cluster identity is [granted the right to pull images][container-registry-integration] from the ACR instance you created in the previous tutorial. To execute the command successfully, you need to have an **Owner** or **Azure account administrator** role in your Azure subscription.
100
100
101
-
* Create an AKS cluster using the [`az aks create`][az aks create] command. The following example creates a cluster named *myAKSCluster* in the resource group named *myResourceGroup*. This resource group was created in the [previous tutorial][aks-tutorial-prepare-acr] in the *eastus* region.
101
+
* Create an AKS cluster using the [`az aks create`][az aks create] command. The following example creates a cluster named *myAKSCluster* in the resource group named *myResourceGroup*. This resource group was created in the [previous tutorial][aks-tutorial-prepare-acr] in the *eastus* region. We will continue to use the environment variable, `$ACRNAME`, that we set in the [previous tutorial][aks-tutorial-prepare-acr]. If you do not have this environment variable set, set it now to the same value you used previously.
102
102
103
103
```azurecli-interactive
104
104
az aks create \
105
105
--resource-group myResourceGroup \
106
106
--name myAKSCluster \
107
107
--node-count 2 \
108
108
--generate-ssh-keys \
109
-
--attach-acr <acrName>
109
+
--attach-acr $ACRNAME
110
110
```
111
111
112
112
> [!NOTE]
@@ -121,7 +121,7 @@ To allow an AKS cluster to interact with other Azure resources, the Azure platfo
121
121
* Create an AKS cluster using the [`New-AzAksCluster`][new-azakscluster] cmdlet. The following example creates a cluster named *myAKSCluster* in the resource group named *myResourceGroup*. This resource group was created in the [previous tutorial][aks-tutorial-prepare-acr] in the *eastus* region.
0 commit comments