withNodePool
Method
interface ContainerResource { // ... omitted for brevity withNodePool(nodePool: KubernetesNodePoolResource): IResource;}Signature
method
withNodePoolbuilderSchedules a compute resource's workload on the specified Kubernetes node pool. This translates to a Kubernetes `nodeSelector` in the pod specification targeting the named node pool.
withNodePool(nodePool: KubernetesNodePoolResource): IResourceParameters
nodePoolKubernetesNodePoolResourceReturns
IResourceApplies to
This method applies to the following types:
type
ContainerResourcetype
ExecutableResourcetype
ProjectResourcetype
ParameterResourcetype
ContainerRegistryResourcetype
DotnetToolResourcetype
ExternalServiceResourcetype
CSharpAppResourcetype
CertManagerIssuerResourcetype
CertManagerResourcetype
KubernetesAspireDashboardResourcetype
KubernetesEnvironmentResourcetype
KubernetesGatewayResourcetype
KubernetesHelmChartResourcetype
KubernetesIngressResourcetype
KubernetesNodePoolResourcetype
KubernetesResource