Skip to content
Docs Try Aspire
Docs Try

KubernetesNodePoolResource Properties

Class Properties 2 members
Represents a Kubernetes node pool as a child resource of a KubernetesEnvironmentResource. Node pools can be referenced by compute resources to schedule workloads on specific node pools using KubernetesEnvironmentExtensions.WithNodePool.
NodeSelectorLabelKey Section titled NodeSelectorLabelKey string
Gets the label key used to identify the node pool in the Kubernetes cluster. Defaults to agentpool which is the standard label used by AKS and many managed Kubernetes services.
public string NodeSelectorLabelKey { get; init; }
Gets the parent Kubernetes environment resource.
public KubernetesEnvironmentResource Parent { get; }