Skip to content

Commit 4d6e725

Browse files
authored
Update batch-api-basics.md
Add note about node deallocation option
1 parent c7a5054 commit 4d6e725

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
@@ -435,7 +435,7 @@ A scaling formula can be based on the following metrics:
435435
* **Resource metrics** are based on CPU usage, bandwidth usage, memory usage, and number of nodes.
436436
* **Task metrics** are based on task state, such as *Active* (queued), *Running*, or *Completed*.
437437

438-
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.
438+
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.
439439

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

0 commit comments

Comments
 (0)