Share via


PreferredSchedulingTermV1.Weight Property

Definition

Represents the weight assigned to a preferred scheduling condition.

[YamlDotNet.Serialization.YamlMember(Alias="weight")]
public int Weight { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="weight")>]
member this.Weight : int with get, set
Public Property Weight As Integer

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

Weight determines the priority of a specific preference in node affinity rules when scheduling workloads in Kubernetes. A higher weight increases the likelihood that this preference will influence the node selection process.

Applies to