次の方法で共有


NodeSelectorTermV1.MatchExpressions Property

Definition

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.

Applies to