Skip to content
Docs Try Aspire

NodeSelectorV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a node selector in Kubernetes scheduling configuration. The NodeSelectorV1 object contains a list of node selector terms that are used to specify node affinity. Each term specifies a set of match expressions that are evaluated to determine whether a node satisfies the scheduling constraints.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class NodeSelectorV1
{
// ...
}
View all constructors
NodeSelectorTermsget
Represents a collection of node selector terms that are used to specify requirements for node selection in Kubernetes. Each entry in the collection is a NodeSelectorTermV1 object, which defines a set of conditions to match against nodes.
View all properties