withNodePool
Method
interface ContainerResource { // ... omitted for brevity withNodePool(nodePool: KubernetesNodePoolResource): IResource;}Signature
method
withNodePool builder Schedules 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
nodePool KubernetesNodePoolResource Returns
IResource Applies to
This method applies to the following types:
type
ContainerResource type
ExecutableResource type
ProjectResource type
ParameterResource type
ContainerRegistryResource type
DotnetToolResource type
ExternalServiceResource type
CSharpAppResource type
CertManagerIssuerResource type
CertManagerResource type
KubernetesAspireDashboardResource type
KubernetesEnvironmentResource type
KubernetesGatewayResource type
KubernetesHelmChartResource type
KubernetesIngressResource type
KubernetesNodePoolResource type
KubernetesResource