addNodePool

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
interface KubernetesEnvironmentResource {
// ... omitted for brevity
addNodePool(name: string): KubernetesNodePoolResource;
}

Signature

methodaddNodePoolbuilder
Adds a named node pool to the Kubernetes environment.
addNodePool(name: string): KubernetesNodePoolResource
namestringThe name of the node pool. This value is used as the `nodeSelector` value.
KubernetesNodePoolResource

Applies to

This method applies to the following types: