Share via


PodAntiAffinityV1.RequiredDuringSchedulingIgnoredDuringExecution Property

Definition

Represents a list of PodAffinityTermV1 objects used to define required pod anti-affinity constraints that must be met during pod scheduling but are ignored during execution. This property ensures that certain pod placement rules are enforced when scheduling occurs; however, these rules can be relaxed if the constraints are violated at runtime, such as when a node becomes unavailable or pods are rescheduled for fault recovery.

[YamlDotNet.Serialization.YamlMember(Alias="requiredDuringSchedulingIgnoredDuringExecution")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PodAffinityTermV1> RequiredDuringSchedulingIgnoredDuringExecution { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="requiredDuringSchedulingIgnoredDuringExecution")>]
member this.RequiredDuringSchedulingIgnoredDuringExecution : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PodAffinityTermV1>
Public ReadOnly Property RequiredDuringSchedulingIgnoredDuringExecution As List(Of PodAffinityTermV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to