Freigeben über


UndrainableNodeBehavior Struct

Definition

Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes. Serialized Name: UndrainableNodeBehavior

public readonly struct UndrainableNodeBehavior : IEquatable<Azure.ResourceManager.ContainerService.Models.UndrainableNodeBehavior>
type UndrainableNodeBehavior = struct
Public Structure UndrainableNodeBehavior
Implements IEquatable(Of UndrainableNodeBehavior)
Inheritance
UndrainableNodeBehavior
Implements

Constructors

Name Description
UndrainableNodeBehavior(String)

Initializes a new instance of UndrainableNodeBehavior.

Properties

Name Description
Cordon

AKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state. Serialized Name: UndrainableNodeBehavior.Cordon

Schedule

AKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes. Serialized Name: UndrainableNodeBehavior.Schedule

Methods

Name Description
Equals(UndrainableNodeBehavior)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(UndrainableNodeBehavior, UndrainableNodeBehavior)

Determines if two UndrainableNodeBehavior values are the same.

Implicit(String to UndrainableNodeBehavior)

Converts a String to a UndrainableNodeBehavior.

Inequality(UndrainableNodeBehavior, UndrainableNodeBehavior)

Determines if two UndrainableNodeBehavior values are not the same.

Applies to