Share via


NodeAffinityV1.RequiredDuringSchedulingIgnoredDuringExecution Property

Definition

Specifies node affinity rules that are required during scheduling but are not enforced during execution.

[YamlDotNet.Serialization.YamlMember(Alias="requiredDuringSchedulingIgnoredDuringExecution")]
public Aspire.Hosting.Kubernetes.Resources.NodeSelectorV1 RequiredDuringSchedulingIgnoredDuringExecution { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="requiredDuringSchedulingIgnoredDuringExecution")>]
member this.RequiredDuringSchedulingIgnoredDuringExecution : Aspire.Hosting.Kubernetes.Resources.NodeSelectorV1 with get, set
Public Property RequiredDuringSchedulingIgnoredDuringExecution As NodeSelectorV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The RequiredDuringSchedulingIgnoredDuringExecution property defines a mandatory set of rules for scheduling pods onto specific nodes. These rules are considered by the Kubernetes scheduler at pod scheduling time. However, they are not enforced if the pod is already running and the node no longer satisfies the selection criteria.

Applies to