NodeSelectorTermV1
Class sealed net10.0
Represents a Kubernetes node selector term used to define conditions for node selection.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class NodeSelectorTermV1{ // ...}Remarks
Section titled Remarks 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. Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesMatchExpressionsget 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.