From fc4e02dd03646d3256104cb250a0fa1ab9550f77 Mon Sep 17 00:00:00 2001 From: Wenjun Gao Date: Sun, 25 Jun 2023 21:59:31 -0700 Subject: [PATCH] add Drain Timeout in preview --- .../aks/preview/2023-06-02-preview/managedClusters.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json index e004a27af325..0c20642a9d91 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-06-02-preview/managedClusters.json @@ -3839,6 +3839,14 @@ "type": "string", "title": "The maximum number or percentage of nodes that are surged during upgrade.", "description": "This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade" + }, + "drainTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "maximum": 1440, + "minimum": 1, + "title": "The drain timeout for a node", + "description": "The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes." } }, "description": "Settings for upgrading an agentpool"