Skip to content
Docs Try Aspire

NodeSelectorTermV1 Properties

Class Properties 2 members
Represents a Kubernetes node selector term used to define conditions for node selection.
Gets the list of match expressions that are used to define the conditions for node selection.
public List<NodeSelectorRequirementV1> MatchExpressions { get; }
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.
A collection of node selector requirements used to match fields in a Kubernetes node's metadata.
public List<NodeSelectorRequirementV1> MatchFields { get; }
MatchFields contains a list of criteria that define field-based conditions for selecting nodes in Kubernetes. Each condition is represented by an instance of NodeSelectorRequirementV1, which specifies a key, operator, and optional set of values used for evaluation.