Поделиться через


AgentPoolUpgradeSettings Class

Definition

Settings for upgrading an agentpool.

public class AgentPoolUpgradeSettings : Azure.Provisioning.Primitives.ProvisionableConstruct
type AgentPoolUpgradeSettings = class
    inherit ProvisionableConstruct
Public Class AgentPoolUpgradeSettings
Inherits ProvisionableConstruct
Inheritance
AgentPoolUpgradeSettings

Constructors

AgentPoolUpgradeSettings()

Creates a new AgentPoolUpgradeSettings.

Properties

DrainTimeoutInMinutes

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.

MaxSurge

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.

Methods

DefineProvisionableProperties()

Define all the provisionable properties of AgentPoolUpgradeSettings.

GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Provisionable)

Applies to