Share via


TopologySpreadConstraintV1.NodeTaintsPolicy Property

Definition

Gets or sets the policy for handling node taints within a topology spread constraint.

[YamlDotNet.Serialization.YamlMember(Alias="nodeTaintsPolicy")]
public string? NodeTaintsPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="nodeTaintsPolicy")>]
member this.NodeTaintsPolicy : string with get, set
Public Property NodeTaintsPolicy As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The NodeTaintsPolicy determines the behavior of the scheduler in deciding how node taints are considered when applying topology constraints. This property allows fine-grained control over the interaction between taints and topology spread requirements.

Applies to