Skip to content
DocsTry Aspire
DocsTry

NodeSelectorRequirementV1 Properties

ClassProperties3 members
Represents a node selector requirement used to constrain a set of nodes in Kubernetes.
Specifies the key that is used to match against node labels or attributes.
public string Key { get; set; }
Gets or sets the operator used in the node selection requirement. The operator specifies the key’s relationship to a set of values. Examples include "In", "NotIn", "Exists", or "DoesNotExist".
public string Operator { get; set; }
ValuesSection titled ValuesList<string>
Gets a collection of values used in the node selector requirements for specifying constraints.
public List<string> Values { get; }