NodeAffinityV1.PreferredDuringSchedulingIgnoredDuringExecution 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.
A list of preferred scheduling terms that influence the scheduling of a pod while ignoring the execution of the scheduling preferences. Each term in the list defines a preference for scheduling pods onto nodes based on specific criteria and associated weights.
[YamlDotNet.Serialization.YamlMember(Alias="preferredDuringSchedulingIgnoredDuringExecution")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PreferredSchedulingTermV1> PreferredDuringSchedulingIgnoredDuringExecution { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="preferredDuringSchedulingIgnoredDuringExecution")>]
member this.PreferredDuringSchedulingIgnoredDuringExecution : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PreferredSchedulingTermV1>
Public ReadOnly Property PreferredDuringSchedulingIgnoredDuringExecution As List(Of PreferredSchedulingTermV1)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The `PreferredDuringSchedulingIgnoredDuringExecution` property defines a set of preferred scheduling rules that Kubernetes attempts to honor when scheduling a pod. These preferences are not mandatory, meaning the scheduler may ignore them if nodes satisfying the preferences are not available. This flexibility ensures that the pod can still be scheduled even if the preferred nodes are unavailable. Each preference is represented as an instance of PreferredSchedulingTermV1.