Skip to content

Commit 3b5c0f4

Browse files
authored
Merge branch 'MicrosoftDocs:main' into main
2 parents f3bcac0 + bf1cfb9 commit 3b5c0f4

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

articles/aks/use-azure-dedicated-hosts.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Azure Dedicated Hosts in Azure Kubernetes Service (AKS)
33
description: Learn how to create an Azure Dedicated Hosts Group and associate it with Azure Kubernetes Service (AKS)
44
services: container-service
55
ms.topic: article
6-
ms.date: 09/13/2022
6+
ms.date: 12/01/2022
77
---
88

99
# Add Azure Dedicated Host to an Azure Kubernetes Service (AKS) cluster
@@ -28,16 +28,7 @@ The following limitations apply when you integrate Azure Dedicated Host with Azu
2828
* It isn't supported to update agent pool from host group A to host group B.
2929
* Using ADH across subscriptions.
3030

31-
## Add a Dedicated Host Group to an AKS cluster
32-
33-
A host group is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. When planning for high availability, there are more options. You can use one or both of the following options with your dedicated hosts:
34-
35-
* Span across multiple availability zones. In this case, you're required to have a host group in each of the zones you wish to use.
36-
* Span across multiple fault domains, which are mapped to physical racks.
37-
38-
In either case, you need to provide the fault domain count for your host group. If you don't want to span fault domains in your group, use a fault domain count of 1.
39-
40-
You can also decide to use both availability zones and fault domains.
31+
## Planning for ADH Capacity on AKS
4132

4233
Not all host SKUs are available in all regions, and availability zones. You can list host availability, and any offer restrictions before you start provisioning dedicated hosts.
4334

@@ -49,6 +40,25 @@ az vm list-skus -l eastus -r hostGroups/hosts -o table
4940
> First, when using host group, the nodepool fault domain count is always the same as the host group fault domain count. In order to use cluster auto-scaling to work with ADH and AKS, please make sure your host group fault domain count and capacity is enough.
5041
> Secondly, only change fault domain count from the default of 1 to any other number if you know what they are doing as a misconfiguration could lead to a unscalable configuration.
5142
43+
[Determine how many hosts you would need based on the expected VM Utilization](https://learn.microsoft.com/azure/virtual-machines/dedicated-host-general-purpose-skus).
44+
45+
Evaluate [host utilization](https://learn.microsoft.com/azure/virtual-machines/dedicated-hosts-how-to?tabs=cli#check-the-status-of-the-host) to determine the number of allocatable VMs by size before you deploy.
46+
47+
```azurecli-interactive
48+
az vm host get-instance-view -g myDHResourceGroup --host-group MyHostGroup --name MyHost
49+
```
50+
51+
## Add a Dedicated Host Group to an AKS cluster
52+
53+
A host group is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. When planning for high availability, there are more options. You can use one or both of the following options with your dedicated hosts:
54+
55+
* Span across multiple availability zones. In this case, you're required to have a host group in each of the zones you wish to use.
56+
* Span across multiple fault domains, which are mapped to physical racks.
57+
58+
In either case, you need to provide the fault domain count for your host group. If you don't want to span fault domains in your group, use a fault domain count of 1.
59+
60+
You can also decide to use both availability zones and fault domains.
61+
5262
## Create a Host Group
5363

5464
Now create a dedicated host in the host group. In addition to a name for the host, you're required to provide the SKU for the host. Host SKU captures the supported VM series and the hardware generation for your dedicated host.

articles/machine-learning/reference-yaml-job-parallel.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ ms.date: 09/27/2022
4545
| `max_concurrency_per_instance` | integer| Define the number of processes on each node of compute.<br><br>For a GPU compute, the default value is 1.<br>For a CPU compute, the default value is the number of cores.|||
4646
| `retry_settings.max_retries` | integer | Define the number of retries when mini-batch is failed or timeout. If all retries are failed, the mini-batch will be marked as failed to be counted by `mini_batch_error_threshold` calculation. ||2|
4747
| `retry_settings.timeout` | integer | Define the timeout in seconds for executing custom run() function. If the execution time is higher than this threshold, the mini-batch will be aborted, and marked as a failed mini-batch to trigger retry.|(0, 259200]|60|
48+
| `environment_variables` | object | Dictionary of environment variable key-value pairs to set on the process where the command is executed. |||
49+
4850

4951
### Attributes of the `task` key
5052

@@ -54,7 +56,6 @@ ms.date: 09/27/2022
5456
| `code` | string | Local path to the source code directory to be uploaded and used for the job. |||
5557
| `entry_script` | string | The python file that contains the implementation of pre-defined parallel functions. For more information, see [Prepare entry script to parallel job](). |||
5658
| `environment` | string or object | **Required** The environment to use for running the task. The value can be either a reference to an existing versioned environment in the workspace or an inline environment specification. <br><br> To reference an existing environment, use the `azureml:<environment_name>:<environment_version>` syntax or `azureml:<environment_name>@latest` (to reference the latest version of an environment). <br><br> To define an inline environment, follow the [Environment schema](reference-yaml-environment.md#yaml-syntax). Exclude the `name` and `version` properties as they aren't supported for inline environments.|||
57-
| `environment_variables` | object | Dictionary of environment variable key-value pairs to set on the process where the command is executed. |||
5859
| `program_arguments` | string | The arguments to be passed to the entry script. May contain "--\<arg_name\> ${{inputs.\<intput_name\>}}" reference to inputs or outputs.<br><br> Parallel job provides a list of predefined arguments to set configuration of parallel run. For more information, see [predefined arguments for parallel job](#predefined-arguments-for-parallel-job). |||
5960
| `append_row_to` | string | Aggregate all returns from each run of mini-batch and output it into this file. May reference to one of the outputs of parallel job by using the expression \${{outputs.<output_name>}} |||
6061

0 commit comments

Comments
 (0)