Skip to content
Docs Try Aspire

NodeSelectorTermV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a Kubernetes node selector term used to define conditions for node selection.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class NodeSelectorTermV1
{
// ...
}
NodeSelectorTermV1 is a core component of node affinity rules in Kubernetes scheduling. It enables the specification of multiple match expressions or match fields that collectively define node selection criteria. Each match expression or field is represented using NodeSelectorRequirementV1.
View all constructors
MatchExpressionsget
Gets the list of match expressions that are used to define the conditions for node selection.
MatchFieldsget
A collection of node selector requirements used to match fields in a Kubernetes node's metadata.
View all properties