Skip to content

Commit f7aae66

Browse files
authored
Merge pull request #113127 from pkshultz/master
Update batch-api-basics.md
2 parents fd16ea7 + 4d6e725 commit f7aae66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/batch/batch-api-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ A scaling formula can be based on the following metrics:
424424
* **Resource metrics** are based on CPU usage, bandwidth usage, memory usage, and number of nodes.
425425
* **Task metrics** are based on task state, such as *Active* (queued), *Running*, or *Completed*.
426426

427-
When automatic scaling decreases the number of compute nodes in a pool, you must consider how to handle tasks that are running at the time of the decrease operation. To accommodate this, Batch provides a *node deallocation option* that you can include in your formulas. For example, you can specify that running tasks are stopped immediately and then requeued for execution on another node, or allowed to finish before the node is removed from the pool.
427+
When automatic scaling decreases the number of compute nodes in a pool, you must consider how to handle tasks that are running at the time of the decrease operation. To accommodate this, Batch provides a [*node deallocation option*](https://docs.microsoft.com/rest/api/batchservice/pool/removenodes#computenodedeallocationoption) that you can include in your formulas. For example, you can specify that running tasks are stopped immediately and then requeued for execution on another node, or allowed to finish before the node is removed from the pool. Note that setting the node deallocation option as `taskcompletion` or `retaineddata` will prevent pool resize operations until all tasks have completed, or all task rentention periods have expired, respectively.
428428

429429
For more information about automatically scaling an application, see [Automatically scale compute nodes in an Azure Batch pool](batch-automatic-scaling.md).
430430

0 commit comments

Comments
 (0)