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/use-multiple-node-pools.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
@@ -130,7 +130,7 @@ The ARM64 processor provides low power compute for your Kubernetes workloads. To
130
130
131
131
Use `az aks nodepool add` command to add an ARM64 node pool.
132
132
133
-
```azurecli
133
+
```azurecli-interactive
134
134
az aks nodepool add \
135
135
--resource-group myResourceGroup \
136
136
--cluster-name myAKSCluster \
@@ -145,7 +145,7 @@ Mariner is an open-source Linux distribution available as an AKS container host.
145
145
146
146
You can add a Mariner node pool into your existing cluster using the `az aks nodepool add` command and specifying `--os-sku mariner`.
147
147
148
-
```azurecli
148
+
```azurecli-interactive
149
149
az aks nodepool add \
150
150
--resource-group myResourceGroup \
151
151
--cluster-name myAKSCluster \
@@ -166,7 +166,7 @@ Use the following instructions to migrate your Ubuntu nodes to Mariner nodes.
166
166
3.[Drain the existing Ubuntu nodes][drain-nodes].
167
167
4. Remove the existing Ubuntu nodes using the `az aks delete` command.
168
168
169
-
```azurecli
169
+
```azurecli-interactive
170
170
az aks nodepool delete \
171
171
--resource-group myResourceGroup \
172
172
--cluster-name myAKSCluster \
@@ -317,7 +317,7 @@ az aks nodepool scale \
317
317
318
318
List the status of your node pools again using the [`az aks node pool list`][az-aks-nodepool-list] command. The following example shows that *mynodepool* is in the *Scaling* state with a new count of *5* nodes:
319
319
320
-
```azurecli
320
+
```azurecli-interactive
321
321
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
322
322
```
323
323
@@ -369,7 +369,7 @@ az aks nodepool delete -g myResourceGroup --cluster-name myAKSCluster --name myn
369
369
370
370
The following example output from the [`az aks node pool list`][az-aks-nodepool-list] command shows that *mynodepool* is in the *Deleting* state:
371
371
372
-
```azurecli
372
+
```azurecli-interactive
373
373
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
374
374
```
375
375
@@ -416,13 +416,13 @@ For more information on the capacity reservation groups, please refer to [Capaci
416
416
417
417
To install the aks-preview extension, run the following command:
418
418
419
-
```azurecli
419
+
```azurecli-interactive
420
420
az extension add --name aks-preview
421
421
```
422
422
423
423
Run the following command to update to the latest version of the extension released:
424
424
425
-
```azurecli
425
+
```azurecli-interactive
426
426
az extension update --name aks-preview
427
427
```
428
428
@@ -490,7 +490,7 @@ az aks nodepool add \
490
490
491
491
The following example output from the [`az aks node pool list`][az-aks-nodepool-list] command shows that *gpunodepool* is *Creating* nodes with the specified *VmSize*:
492
492
493
-
```azurecli
493
+
```azurecli-interactive
494
494
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
495
495
```
496
496
@@ -548,7 +548,7 @@ az aks nodepool add \
548
548
549
549
The following example output from the [`az aks nodepool list`][az-aks-nodepool-list] command shows that *taintnp* is *Creating* nodes with the specified *nodeTaints*:
550
550
551
-
```azurecli
551
+
```azurecli-interactive
552
552
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
553
553
```
554
554
@@ -608,13 +608,13 @@ spec:
608
608
609
609
Schedule the pod using the `kubectl apply -f nginx-toleration.yaml` command:
610
610
611
-
```console
611
+
```bash
612
612
kubectl apply -f nginx-toleration.yaml
613
613
```
614
614
615
615
It takes a few seconds to schedule the pod and pull the NGINX image. Use the [kubectl describe pod][kubectl-describe] command to view the pod status. The following condensed example output shows the *sku=gpu:NoSchedule* toleration is applied. In the events section, the scheduler has assigned the pod to the *aks-taintnp-28993262-vmss000000* node:
0 commit comments