AffinityV1.PodAffinity 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 inter-pod affinity scheduling rules to influence the placement of pods relative to other pods. This property defines constraints for scheduling pods to be either co-located or not co-located with specified pods, based on labels and topology.
[YamlDotNet.Serialization.YamlMember(Alias="podAffinity")]
public Aspire.Hosting.Kubernetes.Resources.PodAffinityV1 PodAffinity { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="podAffinity")>]
member this.PodAffinity : Aspire.Hosting.Kubernetes.Resources.PodAffinityV1 with get, set
Public Property PodAffinity As PodAffinityV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute