AffinityV1.NodeAffinity 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 node affinity property that defines node affinity scheduling rules. This property allows specifying preferred or required nodes for scheduling pods.
[YamlDotNet.Serialization.YamlMember(Alias="nodeAffinity")]
public Aspire.Hosting.Kubernetes.Resources.NodeAffinityV1 NodeAffinity { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="nodeAffinity")>]
member this.NodeAffinity : Aspire.Hosting.Kubernetes.Resources.NodeAffinityV1 with get, set
Public Property NodeAffinity As NodeAffinityV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute