Skip to content

Commit 71fb86d

Browse files
committed
Freshness and editing pass
1 parent 292354d commit 71fb86d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/aks/virtual-nodes-cli.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create virtual nodes in Azure Kubernetes Service (AKS) using Azure CLI
33
titleSuffix: Azure Kubernetes Service
4-
description: Learn how to use the Azure CLI to create an Azure Kubernetes Services (AKS) cluster that uses virtual nodes to run pods.
4+
description: Learn how to use Azure CLI to create an Azure Kubernetes Services (AKS) cluster that uses virtual nodes to run pods.
55
ms.topic: conceptual
66
ms.date: 06/28/2023
77
ms.custom: references_regions, devx-track-azurecli
@@ -53,7 +53,7 @@ An Azure resource group is a logical group in which Azure resources are deployed
5353
* Create a resource group using the [`az group create`][az-group-create] command.
5454
5555
```azurecli-interactive
56-
az group create --name myResourceGroup --location westus
56+
az group create --name myResourceGroup --location eastus
5757
```
5858
5959
## Create a virtual network
@@ -84,28 +84,28 @@ An Azure resource group is a logical group in which Azure resources are deployed
8484
8585
## Create an AKS cluster with managed identity
8686
87-
1. Get the ID of the subnet using the [`az network vnet subnet show`][az-network-vnet-subnet-show] command.
87+
1. Get the subnet ID using the [`az network vnet subnet show`][az-network-vnet-subnet-show] command.
8888
8989
```azurecli-interactive
9090
az network vnet subnet show --resource-group myResourceGroup --vnet-name myVnet --name myAKSSubnet --query id -o tsv
9191
```
9292
93-
2. Create an AKS cluster using the [`az aks create`][az-aks-create] command and replace `<subnetId>` with the ID obtained in the previous step.
93+
2. Create an AKS cluster using the [`az aks create`][az-aks-create] command and replace `<subnetId>` with the ID obtained in the previous step. The following example creates a cluster named *myAKSCluster* with five nodes.
9494
9595
```azurecli-interactive
9696
az aks create \
9797
--resource-group myResourceGroup \
9898
--name myAKSCluster \
99-
--node-count 1 \
99+
--node-count 5 \
100100
--network-plugin azure \
101-
--vnet-subnet-id <subnetId> \
101+
--vnet-subnet-id <subnetId>
102102
```
103103
104104
After several minutes, the command completes and returns JSON-formatted information about the cluster.
105105
106106
For more information on managed identities, see [Use managed identities](use-managed-identity.md).
107107
108-
## Enable virtual nodes addon
108+
## Enable the virtual nodes addon
109109
110110
* Enable virtual nodes using the [`az aks enable-addons`][az-aks-enable-addons] command. The following example uses the subnet named *myVirtualNodeSubnet* created in a previous step.
111111
@@ -131,7 +131,7 @@ For more information on managed identities, see [Use managed identities](use-man
131131
kubectl get nodes
132132
```
133133
134-
The following example output shows the single VM node created and then the virtual node for Linux, *virtual-node-aci-linux*:
134+
The following example output shows the single VM node created and the virtual node for Linux, *virtual-node-aci-linux*:
135135
136136
```output
137137
NAME STATUS ROLES AGE VERSION

0 commit comments

Comments
 (0)