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
@@ -53,7 +53,7 @@ An Azure resource group is a logical group in which Azure resources are deployed
53
53
* Create a resource group using the [`az group create`][az-group-create] command.
54
54
55
55
```azurecli-interactive
56
-
az group create --name myResourceGroup --location westus
56
+
az group create --name myResourceGroup --location eastus
57
57
```
58
58
59
59
## Create a virtual network
@@ -84,28 +84,28 @@ An Azure resource group is a logical group in which Azure resources are deployed
84
84
85
85
## Create an AKS cluster with managed identity
86
86
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.
88
88
89
89
```azurecli-interactive
90
90
az network vnet subnet show --resource-group myResourceGroup --vnet-name myVnet --name myAKSSubnet --query id -o tsv
91
91
```
92
92
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.
94
94
95
95
```azurecli-interactive
96
96
az aks create \
97
97
--resource-group myResourceGroup \
98
98
--name myAKSCluster \
99
-
--node-count 1 \
99
+
--node-count 5 \
100
100
--network-plugin azure \
101
-
--vnet-subnet-id <subnetId> \
101
+
--vnet-subnet-id <subnetId>
102
102
```
103
103
104
104
After several minutes, the command completes and returns JSON-formatted information about the cluster.
105
105
106
106
For more information on managed identities, see [Use managed identities](use-managed-identity.md).
107
107
108
-
## Enable virtual nodes addon
108
+
## Enable the virtual nodes addon
109
109
110
110
* 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.
111
111
@@ -131,7 +131,7 @@ For more information on managed identities, see [Use managed identities](use-man
131
131
kubectl get nodes
132
132
```
133
133
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*:
0 commit comments