Skip to content

Commit b9f52ed

Browse files
Merge pull request #236605 from msaenzbosupport/patch-12
[Doc-A-thon]Updating code block
2 parents bb8639c + 4651839 commit b9f52ed

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/aks/use-multiple-node-pools.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The ARM64 processor provides low power compute for your Kubernetes workloads. To
130130

131131
Use `az aks nodepool add` command to add an ARM64 node pool.
132132

133-
```azurecli
133+
```azurecli-interactive
134134
az aks nodepool add \
135135
--resource-group myResourceGroup \
136136
--cluster-name myAKSCluster \
@@ -145,7 +145,7 @@ Mariner is an open-source Linux distribution available as an AKS container host.
145145

146146
You can add a Mariner node pool into your existing cluster using the `az aks nodepool add` command and specifying `--os-sku mariner`.
147147

148-
```azurecli
148+
```azurecli-interactive
149149
az aks nodepool add \
150150
--resource-group myResourceGroup \
151151
--cluster-name myAKSCluster \
@@ -166,7 +166,7 @@ Use the following instructions to migrate your Ubuntu nodes to Mariner nodes.
166166
3. [Drain the existing Ubuntu nodes][drain-nodes].
167167
4. Remove the existing Ubuntu nodes using the `az aks delete` command.
168168

169-
```azurecli
169+
```azurecli-interactive
170170
az aks nodepool delete \
171171
--resource-group myResourceGroup \
172172
--cluster-name myAKSCluster \
@@ -317,7 +317,7 @@ az aks nodepool scale \
317317

318318
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:
319319

320-
```azurecli
320+
```azurecli-interactive
321321
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
322322
```
323323

@@ -369,7 +369,7 @@ az aks nodepool delete -g myResourceGroup --cluster-name myAKSCluster --name myn
369369

370370
The following example output from the [`az aks node pool list`][az-aks-nodepool-list] command shows that *mynodepool* is in the *Deleting* state:
371371

372-
```azurecli
372+
```azurecli-interactive
373373
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
374374
```
375375

@@ -416,13 +416,13 @@ For more information on the capacity reservation groups, please refer to [Capaci
416416

417417
To install the aks-preview extension, run the following command:
418418

419-
```azurecli
419+
```azurecli-interactive
420420
az extension add --name aks-preview
421421
```
422422

423423
Run the following command to update to the latest version of the extension released:
424424

425-
```azurecli
425+
```azurecli-interactive
426426
az extension update --name aks-preview
427427
```
428428

@@ -490,7 +490,7 @@ az aks nodepool add \
490490

491491
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*:
492492

493-
```azurecli
493+
```azurecli-interactive
494494
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
495495
```
496496

@@ -548,7 +548,7 @@ az aks nodepool add \
548548

549549
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*:
550550

551-
```azurecli
551+
```azurecli-interactive
552552
az aks nodepool list -g myResourceGroup --cluster-name myAKSCluster
553553
```
554554

@@ -608,13 +608,13 @@ spec:
608608
609609
Schedule the pod using the `kubectl apply -f nginx-toleration.yaml` command:
610610

611-
```console
611+
```bash
612612
kubectl apply -f nginx-toleration.yaml
613613
```
614614

615615
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:
616616

617-
```console
617+
```bash
618618
kubectl describe pod mypod
619619
```
620620

0 commit comments

Comments
 (0)