AffinityV1.PodAntiAffinity 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 pod anti-affinity configuration for scheduling in Kubernetes. Pod anti-affinity allows specifying rules to avoid placing certain pods together on the same node or in a specific topology domain. This ensures Pods are scheduled in a manner that prevents tightly coupling their placement.
[YamlDotNet.Serialization.YamlMember(Alias="podAntiAffinity")]
public Aspire.Hosting.Kubernetes.Resources.PodAntiAffinityV1 PodAntiAffinity { get; set; }[<YamlDotNet.Serialization.YamlMember(Alias="podAntiAffinity")>]
member this.PodAntiAffinity : Aspire.Hosting.Kubernetes.Resources.PodAntiAffinityV1 with get, setPublic Property PodAntiAffinity As PodAntiAffinityV1Property Value
- Attributes
- 
			YamlDotNet.Serialization.YamlMemberAttribute