Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

NodeSelectorRequirementV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a node selector requirement used to constrain a set of nodes in Kubernetes.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class NodeSelectorRequirementV1
{
// ...
}
NodeSelectorRequirementV1 defines a selector requirement as a key-value pair with an operator and an optional set of values. It is typically used in node affinity rules to determine eligibility of nodes for scheduling a workload.
View all constructors
View all properties