NodeSelectorTermV1.MatchExpressions 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.
Gets the list of match expressions that are used to define the conditions for node selection.
[YamlDotNet.Serialization.YamlMember(Alias="matchExpressions")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.NodeSelectorRequirementV1> MatchExpressions { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="matchExpressions")>]
member this.MatchExpressions : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.NodeSelectorRequirementV1>
Public ReadOnly Property MatchExpressions As List(Of NodeSelectorRequirementV1)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
MatchExpressions is a collection of node selector requirements, each specifying a key, an operator, and an optional set of values. This allows defining complex rules for selecting nodes based on their labels or attributes.