WithNodePool
Method
func (Resource) WithNodePool(nodePool KubernetesNodePoolResource) ResourceSignature
method
WithNodePool builderSchedules 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) ResourceParameters
nodePool KubernetesNodePoolResource The node pool to schedule the workload on.Returns
ResourceThe resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
CSharpAppResourcetype
CertManagerIssuerResourcetype
CertManagerResourcetype
ContainerRegistryResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ExternalServiceResourcetype
KubernetesAspireDashboardResourcetype
KubernetesEnvironmentResourcetype
KubernetesGatewayResourcetype
KubernetesHelmChartResourcetype
KubernetesIngressResourcetype
KubernetesNodePoolResourcetype
KubernetesPersistentVolumeResourcetype
KubernetesResourcetype
ParameterResourcetype
ProjectResource