Skip to content

Commit 405d319

Browse files
committed
Last minute tweaks
1 parent 4801ab2 commit 405d319

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

AKS-Arc/deploy-ai-model.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,35 @@ az aksarc update --resource-group <Resource_Group_name> --name <Cluster_Name> --
7373

7474
### [Azure CLI](#tab/azurecli)
7575

76-
To create a GPU node pool using Azure CLI, run the following command.
77-
78-
To create a GPU node pool using Azure CLI, run the following command. The GPU VM SKU used in the following example is for the **A16** model; for the full list of VM SKUs, see [Supported VM sizes](deploy-gpu-node-pool.md#supported-gpu-vm-sizes).
76+
To create a GPU node pool using Azure CLI, run the following command. The GPU VM SKU used in the following example is for the **A16** model. For the full list of VM SKUs, see [Supported VM sizes](deploy-gpu-node-pool.md#supported-gpu-vm-sizes).
7977

8078
```azurecli
8179
az aksarc nodepool add --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --node-vm-size "Standard_NC16_A16" --os-type "Linux"
8280
```
8381

8482
---
8583

86-
2. After the node pool is provisioned, you can confirm whether the node is successfully provisioned using the node pool name.
84+
2. After the node pool is provisioned, you can confirm whether the node is successfully provisioned using the node pool name:
85+
86+
### [Azure portal](#tab/portal)
8787

8888
```azurecli
8989
kubectl get nodes --show-labels | grep "msft.microsoft/nodepool-name=.*<Node_Pool_Name>" | awk '{print $1}'
9090
```
9191

92+
### [Azure CLI](#tab/azurecli)
93+
9294
For PowerShell, you can use the following command:
9395

9496
```powershell
9597
kubectl get nodes --show-labels | Select-String "msft.microsoft/nodepool-name=.*<Node_Pool_Name>" | ForEach-Object { ($_ -split '\s+')[0] }
9698
```
9799

100+
---
101+
98102
3. Label the newly provisioned GPU node so the inference workspace can be deployed to the node in the next step. You can make sure the label is applied using `kubectl get nodes`.
99103

100-
```azurecli
104+
```powershell
101105
kubectl label node moc-l36c6vu97d5 apps=llm-inference
102106
```
103107

0 commit comments

Comments
 (0)