1. Packages
  2. Linode Provider
  3. API Docs
  4. getLkeNodePool
Viewing docs for Linode v5.10.0
published on Wednesday, Apr 1, 2026 by Pulumi
linode logo
Viewing docs for Linode v5.10.0
published on Wednesday, Apr 1, 2026 by Pulumi

    Provides details about a specific LKE Cluster Node Pool. For more information, see the Linode APIv4 docs.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const my_node_pool = linode.getLkeNodePool({
        id: 123,
        clusterId: 321,
    });
    
    import pulumi
    import pulumi_linode as linode
    
    my_node_pool = linode.get_lke_node_pool(id=123,
        cluster_id=321)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.LookupLkeNodePool(ctx, &linode.LookupLkeNodePoolArgs{
    			Id:        123,
    			ClusterId: 321,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var my_node_pool = Linode.GetLkeNodePool.Invoke(new()
        {
            Id = 123,
            ClusterId = 321,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetLkeNodePoolArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var my-node-pool = LinodeFunctions.getLkeNodePool(GetLkeNodePoolArgs.builder()
                .id(123)
                .clusterId(321)
                .build());
    
        }
    }
    
    variables:
      my-node-pool:
        fn::invoke:
          function: linode:getLkeNodePool
          arguments:
            id: 123
            clusterId: 321
    

    Using getLkeNodePool

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLkeNodePool(args: GetLkeNodePoolArgs, opts?: InvokeOptions): Promise<GetLkeNodePoolResult>
    function getLkeNodePoolOutput(args: GetLkeNodePoolOutputArgs, opts?: InvokeOptions): Output<GetLkeNodePoolResult>
    def get_lke_node_pool(cluster_id: Optional[int] = None,
                          id: Optional[int] = None,
                          opts: Optional[InvokeOptions] = None) -> GetLkeNodePoolResult
    def get_lke_node_pool_output(cluster_id: Optional[pulumi.Input[int]] = None,
                          id: Optional[pulumi.Input[int]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetLkeNodePoolResult]
    func LookupLkeNodePool(ctx *Context, args *LookupLkeNodePoolArgs, opts ...InvokeOption) (*LookupLkeNodePoolResult, error)
    func LookupLkeNodePoolOutput(ctx *Context, args *LookupLkeNodePoolOutputArgs, opts ...InvokeOption) LookupLkeNodePoolResultOutput

    > Note: This function is named LookupLkeNodePool in the Go SDK.

    public static class GetLkeNodePool 
    {
        public static Task<GetLkeNodePoolResult> InvokeAsync(GetLkeNodePoolArgs args, InvokeOptions? opts = null)
        public static Output<GetLkeNodePoolResult> Invoke(GetLkeNodePoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLkeNodePoolResult> getLkeNodePool(GetLkeNodePoolArgs args, InvokeOptions options)
    public static Output<GetLkeNodePoolResult> getLkeNodePool(GetLkeNodePoolArgs args, InvokeOptions options)
    
    fn::invoke:
      function: linode:index/getLkeNodePool:getLkeNodePool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId int
    The LKE Cluster's ID.
    Id int
    The LKE Cluster's Node Pool ID.
    ClusterId int
    The LKE Cluster's ID.
    Id int
    The LKE Cluster's Node Pool ID.
    clusterId Integer
    The LKE Cluster's ID.
    id Integer
    The LKE Cluster's Node Pool ID.
    clusterId number
    The LKE Cluster's ID.
    id number
    The LKE Cluster's Node Pool ID.
    cluster_id int
    The LKE Cluster's ID.
    id int
    The LKE Cluster's Node Pool ID.
    clusterId Number
    The LKE Cluster's ID.
    id Number
    The LKE Cluster's Node Pool ID.

    getLkeNodePool Result

    The following output properties are available:

    Autoscaler GetLkeNodePoolAutoscaler
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    ClusterId int
    DiskEncryption string
    Indicates the local disk encryption setting for this LKE node pool.
    Disks List<GetLkeNodePoolDisk>
    This node pool's custom disk layout.
    FirewallId int
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    Id int
    The Node's ID.
    K8sVersion string
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    Label string
    The optional label defined for this node pool.
    Labels Dictionary<string, string>
    Key-value pairs added as labels to nodes in the node pool.
    NodeCount int
    The number of nodes in the node pool.
    Nodes List<GetLkeNodePoolNode>
    Status information for the nodes that are members of this node pool.
    Tags List<string>
    An array of tags applied to this object.
    Taints List<GetLkeNodePoolTaint>
    Kubernetes taints to add to node pool nodes.
    Type string
    The Linode type for all of the nodes in the node pool.
    UpdateStrategy string
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.
    Autoscaler GetLkeNodePoolAutoscaler
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    ClusterId int
    DiskEncryption string
    Indicates the local disk encryption setting for this LKE node pool.
    Disks []GetLkeNodePoolDisk
    This node pool's custom disk layout.
    FirewallId int
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    Id int
    The Node's ID.
    K8sVersion string
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    Label string
    The optional label defined for this node pool.
    Labels map[string]string
    Key-value pairs added as labels to nodes in the node pool.
    NodeCount int
    The number of nodes in the node pool.
    Nodes []GetLkeNodePoolNode
    Status information for the nodes that are members of this node pool.
    Tags []string
    An array of tags applied to this object.
    Taints []GetLkeNodePoolTaint
    Kubernetes taints to add to node pool nodes.
    Type string
    The Linode type for all of the nodes in the node pool.
    UpdateStrategy string
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.
    autoscaler GetLkeNodePoolAutoscaler
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    clusterId Integer
    diskEncryption String
    Indicates the local disk encryption setting for this LKE node pool.
    disks List<GetLkeNodePoolDisk>
    This node pool's custom disk layout.
    firewallId Integer
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    id Integer
    The Node's ID.
    k8sVersion String
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    label String
    The optional label defined for this node pool.
    labels Map<String,String>
    Key-value pairs added as labels to nodes in the node pool.
    nodeCount Integer
    The number of nodes in the node pool.
    nodes List<GetLkeNodePoolNode>
    Status information for the nodes that are members of this node pool.
    tags List<String>
    An array of tags applied to this object.
    taints List<GetLkeNodePoolTaint>
    Kubernetes taints to add to node pool nodes.
    type String
    The Linode type for all of the nodes in the node pool.
    updateStrategy String
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.
    autoscaler GetLkeNodePoolAutoscaler
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    clusterId number
    diskEncryption string
    Indicates the local disk encryption setting for this LKE node pool.
    disks GetLkeNodePoolDisk[]
    This node pool's custom disk layout.
    firewallId number
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    id number
    The Node's ID.
    k8sVersion string
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    label string
    The optional label defined for this node pool.
    labels {[key: string]: string}
    Key-value pairs added as labels to nodes in the node pool.
    nodeCount number
    The number of nodes in the node pool.
    nodes GetLkeNodePoolNode[]
    Status information for the nodes that are members of this node pool.
    tags string[]
    An array of tags applied to this object.
    taints GetLkeNodePoolTaint[]
    Kubernetes taints to add to node pool nodes.
    type string
    The Linode type for all of the nodes in the node pool.
    updateStrategy string
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.
    autoscaler GetLkeNodePoolAutoscaler
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    cluster_id int
    disk_encryption str
    Indicates the local disk encryption setting for this LKE node pool.
    disks Sequence[GetLkeNodePoolDisk]
    This node pool's custom disk layout.
    firewall_id int
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    id int
    The Node's ID.
    k8s_version str
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    label str
    The optional label defined for this node pool.
    labels Mapping[str, str]
    Key-value pairs added as labels to nodes in the node pool.
    node_count int
    The number of nodes in the node pool.
    nodes Sequence[GetLkeNodePoolNode]
    Status information for the nodes that are members of this node pool.
    tags Sequence[str]
    An array of tags applied to this object.
    taints Sequence[GetLkeNodePoolTaint]
    Kubernetes taints to add to node pool nodes.
    type str
    The Linode type for all of the nodes in the node pool.
    update_strategy str
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.
    autoscaler Property Map
    When enabled, the number of nodes autoscales within the defined minimum and maximum values.
    clusterId Number
    diskEncryption String
    Indicates the local disk encryption setting for this LKE node pool.
    disks List<Property Map>
    This node pool's custom disk layout.
    firewallId Number
    The ID of the Cloud Firewall assigned to this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    id Number
    The Node's ID.
    k8sVersion String
    The Kubernetes version used for the worker nodes within this node pool. This field is available as part of the beta API and can only be used by accounts with access to LKE Enterprise.
    label String
    The optional label defined for this node pool.
    labels Map<String>
    Key-value pairs added as labels to nodes in the node pool.
    nodeCount Number
    The number of nodes in the node pool.
    nodes List<Property Map>
    Status information for the nodes that are members of this node pool.
    tags List<String>
    An array of tags applied to this object.
    taints List<Property Map>
    Kubernetes taints to add to node pool nodes.
    type String
    The Linode type for all of the nodes in the node pool.
    updateStrategy String
    Determines when the worker nodes within this node pool upgrade to the latest selected Kubernetes version. This field is available as part of the beta API.

    Supporting Types

    GetLkeNodePoolAutoscaler

    Enabled bool
    Whether autoscaling is enabled for this node pool.
    Max int
    The maximum number of nodes to autoscale to.
    Min int
    The minimum number of nodes to autoscale to.
    Enabled bool
    Whether autoscaling is enabled for this node pool.
    Max int
    The maximum number of nodes to autoscale to.
    Min int
    The minimum number of nodes to autoscale to.
    enabled Boolean
    Whether autoscaling is enabled for this node pool.
    max Integer
    The maximum number of nodes to autoscale to.
    min Integer
    The minimum number of nodes to autoscale to.
    enabled boolean
    Whether autoscaling is enabled for this node pool.
    max number
    The maximum number of nodes to autoscale to.
    min number
    The minimum number of nodes to autoscale to.
    enabled bool
    Whether autoscaling is enabled for this node pool.
    max int
    The maximum number of nodes to autoscale to.
    min int
    The minimum number of nodes to autoscale to.
    enabled Boolean
    Whether autoscaling is enabled for this node pool.
    max Number
    The maximum number of nodes to autoscale to.
    min Number
    The minimum number of nodes to autoscale to.

    GetLkeNodePoolDisk

    Size int
    The size of this custom disk partition in MB.
    Type string
    The Linode type for all of the nodes in the node pool.
    Size int
    The size of this custom disk partition in MB.
    Type string
    The Linode type for all of the nodes in the node pool.
    size Integer
    The size of this custom disk partition in MB.
    type String
    The Linode type for all of the nodes in the node pool.
    size number
    The size of this custom disk partition in MB.
    type string
    The Linode type for all of the nodes in the node pool.
    size int
    The size of this custom disk partition in MB.
    type str
    The Linode type for all of the nodes in the node pool.
    size Number
    The size of this custom disk partition in MB.
    type String
    The Linode type for all of the nodes in the node pool.

    GetLkeNodePoolNode

    Id string
    The LKE Cluster's Node Pool ID.
    InstanceId int
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    Status string
    The creation status of this node.
    Id string
    The LKE Cluster's Node Pool ID.
    InstanceId int
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    Status string
    The creation status of this node.
    id String
    The LKE Cluster's Node Pool ID.
    instanceId Integer
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    status String
    The creation status of this node.
    id string
    The LKE Cluster's Node Pool ID.
    instanceId number
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    status string
    The creation status of this node.
    id str
    The LKE Cluster's Node Pool ID.
    instance_id int
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    status str
    The creation status of this node.
    id String
    The LKE Cluster's Node Pool ID.
    instanceId Number
    The Linode's ID. When no Linode is currently provisioned for this node, this is null.
    status String
    The creation status of this node.

    GetLkeNodePoolTaint

    Effect string
    The Kubernetes taint effect.
    Key string
    The Kubernetes taint key.
    Value string
    The Kubernetes taint value.
    Effect string
    The Kubernetes taint effect.
    Key string
    The Kubernetes taint key.
    Value string
    The Kubernetes taint value.
    effect String
    The Kubernetes taint effect.
    key String
    The Kubernetes taint key.
    value String
    The Kubernetes taint value.
    effect string
    The Kubernetes taint effect.
    key string
    The Kubernetes taint key.
    value string
    The Kubernetes taint value.
    effect str
    The Kubernetes taint effect.
    key str
    The Kubernetes taint key.
    value str
    The Kubernetes taint value.
    effect String
    The Kubernetes taint effect.
    key String
    The Kubernetes taint key.
    value String
    The Kubernetes taint value.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Viewing docs for Linode v5.10.0
    published on Wednesday, Apr 1, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.