PreferredSchedulingTermV1.Preference 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 preference for Kubernetes node scheduling policies.
[YamlDotNet.Serialization.YamlMember(Alias="preference")]
public Aspire.Hosting.Kubernetes.Resources.NodeSelectorTermV1 Preference { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="preference")>]
member this.Preference : Aspire.Hosting.Kubernetes.Resources.NodeSelectorTermV1 with get, set
Public Property Preference As NodeSelectorTermV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
This property specifies a NodeSelectorTermV1 object, which defines node selection criteria for scheduling Kubernetes pods. The preference is used in conjunction with a weight to influence scheduling decisions.