PreferredSchedulingTermV1.Weight 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.
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.