Skip to content

Commit b734d0e

Browse files
committed
- Fixed checklist formatting
- Switched <arcName> to $ACRNAME to match previous tutorial - Updated outputs with current versions
1 parent 4562496 commit b734d0e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/aks/tutorial-kubernetes-deploy-cluster.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Kubernetes on Azure tutorial - Create an Azure Kubernetes Service (AKS) cluster
33
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.
44
ms.topic: tutorial
5-
ms.date: 02/14/2024
5+
ms.date: 06/10/2024
66
author: schaffererin
77
ms.author: schaffererin
88

@@ -18,7 +18,7 @@ Kubernetes provides a distributed platform for containerized applications. With
1818
In this tutorial, part three of seven, you deploy a Kubernetes cluster in AKS. You learn how to:
1919

2020
> [!div class="checklist"]
21-
21+
>
2222
> * Deploy an AKS cluster that can authenticate to an Azure Container Registry (ACR).
2323
> * Install the Kubernetes CLI, `kubectl`.
2424
> * Configure `kubectl` to connect to your AKS cluster.
@@ -98,15 +98,15 @@ For information about AKS resource limits and region availability, see [Quotas,
9898
9999
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.
100100
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.
102102
103103
```azurecli-interactive
104104
az aks create \
105105
--resource-group myResourceGroup \
106106
--name myAKSCluster \
107107
--node-count 2 \
108108
--generate-ssh-keys \
109-
--attach-acr <acrName>
109+
--attach-acr $ACRNAME
110110
```
111111
112112
> [!NOTE]
@@ -121,7 +121,7 @@ To allow an AKS cluster to interact with other Azure resources, the Azure platfo
121121
* 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.
122122
123123
```azurepowershell-interactive
124-
New-AzAksCluster -ResourceGroupName myResourceGroup -Name myAKSCluster -NodeCount 2 -GenerateSshKey -AcrNameToAttach <acrName>
124+
New-AzAksCluster -ResourceGroupName myResourceGroup -Name myAKSCluster -NodeCount 2 -GenerateSshKey -AcrNameToAttach $ACRNAME
125125
```
126126
127127
> [!NOTE]
@@ -155,8 +155,8 @@ To avoid needing an **Owner** or **Azure account administrator** role, you can a
155155
156156
```output
157157
NAME STATUS ROLES AGE VERSION
158-
aks-nodepool1-19366578-vmss000002 Ready agent 47h v1.25.6
159-
aks-nodepool1-19366578-vmss000003 Ready agent 47h v1.25.6
158+
aks-nodepool1-19366578-vmss000000 Ready agent 47h v1.28.9
159+
aks-nodepool1-19366578-vmss000001 Ready agent 47h v1.28.9
160160
```
161161
162162
### [Azure PowerShell](#tab/azure-powershell)
@@ -177,8 +177,8 @@ To avoid needing an **Owner** or **Azure account administrator** role, you can a
177177
178178
```output
179179
NAME STATUS ROLES AGE VERSION
180-
aks-nodepool1-19366578-vmss000002 Ready agent 47h v1.25.6
181-
aks-nodepool1-19366578-vmss000003 Ready agent 47h v1.25.6
180+
aks-nodepool1-19366578-vmss000000 Ready agent 47h v1.28.9
181+
aks-nodepool1-19366578-vmss000001 Ready agent 47h v1.28.9
182182
```
183183
184184
### [Azure Developer CLI](#tab/azure-azd)
@@ -201,8 +201,8 @@ To avoid needing an **Owner** or **Azure account administrator** role, you can a
201201
202202
```output
203203
NAME STATUS ROLES AGE VERSION
204-
aks-nodepool1-19366578-vmss000002 Ready agent 47h v1.25.6
205-
aks-nodepool1-19366578-vmss000003 Ready agent 47h v1.25.6
204+
aks-nodepool1-19366578-vmss000000 Ready agent 47h v1.28.9
205+
aks-nodepool1-19366578-vmss000001 Ready agent 47h v1.28.9
206206
```
207207
208208
[!INCLUDE [azd-login-ts](./includes/azd/azd-login-ts.md)]

0 commit comments

Comments
 (0)