AgentPoolUpgradeSettingsResponse

data class AgentPoolUpgradeSettingsResponse(val drainTimeoutInMinutes: Int? = null, val maxSurge: String? = null, val nodeSoakDurationInMinutes: Int? = null)

Settings for upgrading an agentpool

Constructors

Link copied to clipboard
constructor(drainTimeoutInMinutes: Int? = null, maxSurge: String? = null, nodeSoakDurationInMinutes: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard
val maxSurge: String? = null

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 10%. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade

Link copied to clipboard

The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.