Skip to content

Commit 2a6909b

Browse files
Merge pull request #249192 from Padmalathas/PendingTask-Limitation-patch-1
Include Limitation Note to Autoscaling
2 parents 8c30409 + df38e6a commit 2a6909b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

articles/batch/batch-automatic-scaling.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Autoscale compute nodes in an Azure Batch pool
33
description: Enable automatic scaling on an Azure Batch cloud pool to dynamically adjust the number of compute nodes in the pool.
44
ms.topic: how-to
5-
ms.date: 05/26/2023
5+
ms.date: 08/23/2023
66
ms.custom: H1Hack27Feb2017, fasttrack-edit, devx-track-csharp, devx-track-linux
77
---
88

@@ -58,6 +58,8 @@ pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($
5858
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
5959
$NodeDeallocationOption = taskcompletion;
6060
```
61+
> [!IMPORTANT]
62+
> Currently, Batch Service has limitaion with the resolution of the pending tasks. When a task is added to the job, it's also added into a internal queue used by Batch service for scheduling. If the task is deleted before it can be scheduled, the task might persist within the queue, causing it to still be counted in `$PendingTasks`. This deleted task will eventually be cleared from the queue when Batch gets chance to pull tasks from the queue to schedule with idle nodes in the Batch pool.
6163
6264
#### Preempted nodes
6365

articles/batch/batch-docker-container-workloads.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ You should be familiar with container concepts and how to create a Batch pool an
3838
> - Batch Python SDK version 14.0.0
3939
> - Batch Java SDK version 11.0.0
4040
> - Batch Node.js SDK version 11.0.0
41-
> the `containerConfiguration` requires `Type` property to be passed and the supported values are: `ContainerType.DockerCompatible` and `ContainerType.CriCompatible`.
41+
42+
Currently, the `containerConfiguration` requires `Type` property to be passed and the supported values are: `ContainerType.DockerCompatible` and `ContainerType.CriCompatible`.
4243

4344
Keep in mind the following limitations:
4445

0 commit comments

Comments
 (0)