AgentPoolUpgradeSettingsArgs

data class AgentPoolUpgradeSettingsArgs(val drainTimeoutInMinutes: Output<Int>? = null, val maxSurge: Output<String>? = null, val nodeSoakDurationInMinutes: Output<Int>? = null) : ConvertibleToJava<AgentPoolUpgradeSettingsArgs>

Settings for upgrading an agentpool

Constructors

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

Properties

Link copied to clipboard
val drainTimeoutInMinutes: Output<Int>? = null

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: Output<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
val nodeSoakDurationInMinutes: Output<Int>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): AgentPoolUpgradeSettingsArgs