TopologySpreadConstraintV1.WhenUnsatisfiable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the behavior when the constraints defined for topology spreading cannot be satisfied. This is used to handle scenarios where the node placement does not meet the desired topology spread constraints.
[YamlDotNet.Serialization.YamlMember(Alias="whenUnsatisfiable")]
public string? WhenUnsatisfiable { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="whenUnsatisfiable")>]
member this.WhenUnsatisfiable : string with get, set
Public Property WhenUnsatisfiable As String
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
Possible values might include: - "DoNotSchedule": Prevents the scheduler from placing the pod on a node that would violate topology constraints. - "ScheduleAnyway": Allows scheduling on a node despite the constraints not being met. The exact values and their implications depend on the Kubernetes version and configuration.