From 33ec40107ad03ee509b9be69a93c7db2f530ed11 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sat, 17 Jun 2023 00:12:45 +0000 Subject: [PATCH] bring draintimeot into 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 b06b40d88a29..944397481d24 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 @@ -3663,6 +3663,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"