Skip to content

Commit 9f05004

Browse files
Merge pull request #266026 from ssalgadodev/patch-71
Update how-to-manage-kubernetes-instance-types.md
2 parents e92401c + e423bc1 commit 9f05004

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/machine-learning/how-to-manage-kubernetes-instance-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ ms.author: bozhlin
77
ms.reviewer: ssalgado
88
ms.service: machine-learning
99
ms.subservice: core
10-
ms.date: 11/09/2022
10+
ms.date: 01/09/2024
1111
ms.topic: how-to
1212
ms.custom: build-spring-2022, cliv2, sdkv2
1313
---
1414

1515
# Create and manage instance types for efficient utilization of compute resources
1616

17-
Instance types are an Azure Machine Learning concept that allows targeting certain types of compute nodes for training and inference workloads. For an Azure virtual machine, an example of an instance type is `STANDARD_D2_V3`.
17+
Instance types are an Azure Machine Learning concept that allows targeting certain types of compute nodes for training and inference workloads. For example, in an Azure virtual machine, an instance type is `STANDARD_D2_V3`. This article teaches you how to create and manage instance types for your computation requirements.
1818

1919
In Kubernetes clusters, instance types are represented in a custom resource definition (CRD) that's installed with the Azure Machine Learning extension. Two elements in the Azure Machine Learning extension represent the instance types:
2020

@@ -85,7 +85,7 @@ The preceding code creates an instance type with the labeled behavior:
8585
- Pods are assigned resource requests of `700m` for CPU and `1500Mi` for memory.
8686
- Pods are assigned resource limits of `1` for CPU, `2Gi` for memory, and `1` for NVIDIA GPU.
8787

88-
Creation of custom instance types must meet the following parameters and definition rules, or it will fail:
88+
Creation of custom instance types must meet the following parameters and definition rules, or it fails:
8989

9090
| Parameter | Required or optional | Description |
9191
| --- | --- | --- |
@@ -297,13 +297,13 @@ blue_deployment = KubernetesOnlineDeployment(
297297

298298
---
299299

300-
If you use the `resources` section, a valid resource definition needs to meet the following rules. An invalid resource definition will cause the model deployment to fail.
300+
If you use the `resources` section, a valid resource definition needs to meet the following rules. An invalid resource definition causes the model deployment to fail.
301301

302302
| Parameter | Required or optional | Description |
303303
| --- | --- | --- |
304304
| `requests:`<br>`cpu:`| Required | String values, which can't be zero or empty. <br>You can specify the CPU in millicores; for example, `100m`. You can also specify it in full numbers. For example, `"1"` is equivalent to `1000m`.|
305305
| `requests:`<br>`memory:` | Required | String values, which can't be zero or empty. <br>You can specify the memory as a full number + suffix; for example, `1024Mi` for 1024 MiB. <br>Memory can't be less than 1 MB.|
306-
| `limits:`<br>`cpu:` | Optional <br>(required only when you need GPU) | String values, which can't be zero or empty. <br>You can specify the CPU in millicores; for example `100m`. You can also specify it in full numbers. For example, `"1"` is equivalent to `1000m`. |
306+
| `limits:`<br>`cpu:` | Optional <br>(required only when you need GPU) | String values, which can't be zero or empty. <br>You can specify the CPU in millicores; for example, `100m`. You can also specify it in full numbers. For example, `"1"` is equivalent to `1000m`. |
307307
| `limits:`<br>`memory:` | Optional <br>(required only when you need GPU) | String values, which can't be zero or empty. <br>You can specify the memory as a full number + suffix; for example, `1024Mi` for 1,024 MiB.|
308308
| `limits:`<br>`nvidia.com/gpu:` | Optional <br>(required only when you need GPU) | Integer values, which can't be empty and can be specified only in the `limits` section. <br>For more information, see the [Kubernetes documentation](https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/#using-device-plugins). <br>If you require CPU only, you can omit the entire `limits` section.|
309309

0 commit comments

Comments
 (0)