linode.LkeCluster
Explore with Pulumi AI
Manages an LKE cluster.
Example Usage
Creating a basic LKE cluster
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var my_cluster = new Linode.LkeCluster("my-cluster", new()
{
K8sVersion = "1.21",
Label = "my-cluster",
Pools = new[]
{
new Linode.Inputs.LkeClusterPoolArgs
{
Count = 3,
Type = "g6-standard-2",
},
},
Region = "us-central",
Tags = new[]
{
"prod",
},
});
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewLkeCluster(ctx, "my-cluster", &linode.LkeClusterArgs{
K8sVersion: pulumi.String("1.21"),
Label: pulumi.String("my-cluster"),
Pools: linode.LkeClusterPoolArray{
&linode.LkeClusterPoolArgs{
Count: pulumi.Int(3),
Type: pulumi.String("g6-standard-2"),
},
},
Region: pulumi.String("us-central"),
Tags: pulumi.StringArray{
pulumi.String("prod"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LkeCluster;
import com.pulumi.linode.LkeClusterArgs;
import com.pulumi.linode.inputs.LkeClusterPoolArgs;
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) {
var my_cluster = new LkeCluster("my-cluster", LkeClusterArgs.builder()
.k8sVersion("1.21")
.label("my-cluster")
.pools(LkeClusterPoolArgs.builder()
.count(3)
.type("g6-standard-2")
.build())
.region("us-central")
.tags("prod")
.build());
}
}
import pulumi
import pulumi_linode as linode
my_cluster = linode.LkeCluster("my-cluster",
k8s_version="1.21",
label="my-cluster",
pools=[linode.LkeClusterPoolArgs(
count=3,
type="g6-standard-2",
)],
region="us-central",
tags=["prod"])
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const my_cluster = new linode.LkeCluster("my-cluster", {
k8sVersion: "1.21",
label: "my-cluster",
pools: [{
count: 3,
type: "g6-standard-2",
}],
region: "us-central",
tags: ["prod"],
});
resources:
my-cluster:
type: linode:LkeCluster
properties:
k8sVersion: '1.21'
label: my-cluster
pools:
- count: 3
type: g6-standard-2
region: us-central
tags:
- prod
Creating an LKE cluster with autoscaler
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var my_cluster = new Linode.LkeCluster("my-cluster", new()
{
Label = "my-cluster",
K8sVersion = "1.21",
Region = "us-central",
Tags = new[]
{
"prod",
},
Pools = new[]
{
new Linode.Inputs.LkeClusterPoolArgs
{
Type = "g6-standard-2",
Count = 3,
Autoscaler = new Linode.Inputs.LkeClusterPoolAutoscalerArgs
{
Min = 3,
Max = 10,
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewLkeCluster(ctx, "my-cluster", &linode.LkeClusterArgs{
Label: pulumi.String("my-cluster"),
K8sVersion: pulumi.String("1.21"),
Region: pulumi.String("us-central"),
Tags: pulumi.StringArray{
pulumi.String("prod"),
},
Pools: linode.LkeClusterPoolArray{
&linode.LkeClusterPoolArgs{
Type: pulumi.String("g6-standard-2"),
Count: pulumi.Int(3),
Autoscaler: &linode.LkeClusterPoolAutoscalerArgs{
Min: pulumi.Int(3),
Max: pulumi.Int(10),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LkeCluster;
import com.pulumi.linode.LkeClusterArgs;
import com.pulumi.linode.inputs.LkeClusterPoolArgs;
import com.pulumi.linode.inputs.LkeClusterPoolAutoscalerArgs;
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) {
var my_cluster = new LkeCluster("my-cluster", LkeClusterArgs.builder()
.label("my-cluster")
.k8sVersion("1.21")
.region("us-central")
.tags("prod")
.pools(LkeClusterPoolArgs.builder()
.type("g6-standard-2")
.count(3)
.autoscaler(LkeClusterPoolAutoscalerArgs.builder()
.min(3)
.max(10)
.build())
.build())
.build());
}
}
import pulumi
import pulumi_linode as linode
my_cluster = linode.LkeCluster("my-cluster",
label="my-cluster",
k8s_version="1.21",
region="us-central",
tags=["prod"],
pools=[linode.LkeClusterPoolArgs(
type="g6-standard-2",
count=3,
autoscaler=linode.LkeClusterPoolAutoscalerArgs(
min=3,
max=10,
),
)])
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const my_cluster = new linode.LkeCluster("my-cluster", {
label: "my-cluster",
k8sVersion: "1.21",
region: "us-central",
tags: ["prod"],
pools: [{
type: "g6-standard-2",
count: 3,
autoscaler: {
min: 3,
max: 10,
},
}],
});
resources:
my-cluster:
type: linode:LkeCluster
properties:
label: my-cluster
k8sVersion: '1.21'
region: us-central
tags:
- prod
pools:
- type: g6-standard-2
count: 3
autoscaler:
min: 3
max: 10
Create LkeCluster Resource
new LkeCluster(name: string, args: LkeClusterArgs, opts?: CustomResourceOptions);
@overload
def LkeCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
control_plane: Optional[LkeClusterControlPlaneArgs] = None,
k8s_version: Optional[str] = None,
label: Optional[str] = None,
pools: Optional[Sequence[LkeClusterPoolArgs]] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
@overload
def LkeCluster(resource_name: str,
args: LkeClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewLkeCluster(ctx *Context, name string, args LkeClusterArgs, opts ...ResourceOption) (*LkeCluster, error)
public LkeCluster(string name, LkeClusterArgs args, CustomResourceOptions? opts = null)
public LkeCluster(String name, LkeClusterArgs args)
public LkeCluster(String name, LkeClusterArgs args, CustomResourceOptions options)
type: linode:LkeCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LkeClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LkeClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LkeClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LkeClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LkeClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LkeCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LkeCluster resource accepts the following input properties:
- K8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- Label string
This Kubernetes cluster's unique label.
- Pools
List<Lke
Cluster Pool> Additional nested attributes:
- Region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- Control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- List<string>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- K8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- Label string
This Kubernetes cluster's unique label.
- Pools
[]Lke
Cluster Pool Args Additional nested attributes:
- Region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- Control
Plane LkeCluster Control Plane Args Defines settings for the Kubernetes Control Plane.
- []string
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- k8s
Version String The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- label String
This Kubernetes cluster's unique label.
- pools
List<Lke
Cluster Pool> Additional nested attributes:
- region String
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- List<String>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- k8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- label string
This Kubernetes cluster's unique label.
- pools
Lke
Cluster Pool[] Additional nested attributes:
- region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- string[]
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- k8s_
version str The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- label str
This Kubernetes cluster's unique label.
- pools
Sequence[Lke
Cluster Pool Args] Additional nested attributes:
- region str
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- control_
plane LkeCluster Control Plane Args Defines settings for the Kubernetes Control Plane.
- Sequence[str]
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- k8s
Version String The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- label String
This Kubernetes cluster's unique label.
- pools List<Property Map>
Additional nested attributes:
- region String
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- control
Plane Property Map Defines settings for the Kubernetes Control Plane.
- List<String>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
Outputs
All input properties are implicitly available as output properties. Additionally, the LkeCluster resource produces the following output properties:
- Api
Endpoints List<string> The endpoints for the Kubernetes API server.
- Dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- Id string
The provider-assigned unique ID for this managed resource.
- Kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- Status string
The status of the node. (
ready
,not_ready
)
- Api
Endpoints []string The endpoints for the Kubernetes API server.
- Dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- Id string
The provider-assigned unique ID for this managed resource.
- Kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- Status string
The status of the node. (
ready
,not_ready
)
- api
Endpoints List<String> The endpoints for the Kubernetes API server.
- dashboard
Url String The Kubernetes Dashboard access URL for this cluster.
- id String
The provider-assigned unique ID for this managed resource.
- kubeconfig String
The base64 encoded kubeconfig for the Kubernetes cluster.
- status String
The status of the node. (
ready
,not_ready
)
- api
Endpoints string[] The endpoints for the Kubernetes API server.
- dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- id string
The provider-assigned unique ID for this managed resource.
- kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- status string
The status of the node. (
ready
,not_ready
)
- api_
endpoints Sequence[str] The endpoints for the Kubernetes API server.
- dashboard_
url str The Kubernetes Dashboard access URL for this cluster.
- id str
The provider-assigned unique ID for this managed resource.
- kubeconfig str
The base64 encoded kubeconfig for the Kubernetes cluster.
- status str
The status of the node. (
ready
,not_ready
)
- api
Endpoints List<String> The endpoints for the Kubernetes API server.
- dashboard
Url String The Kubernetes Dashboard access URL for this cluster.
- id String
The provider-assigned unique ID for this managed resource.
- kubeconfig String
The base64 encoded kubeconfig for the Kubernetes cluster.
- status String
The status of the node. (
ready
,not_ready
)
Look up Existing LkeCluster Resource
Get an existing LkeCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LkeClusterState, opts?: CustomResourceOptions): LkeCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_endpoints: Optional[Sequence[str]] = None,
control_plane: Optional[LkeClusterControlPlaneArgs] = None,
dashboard_url: Optional[str] = None,
k8s_version: Optional[str] = None,
kubeconfig: Optional[str] = None,
label: Optional[str] = None,
pools: Optional[Sequence[LkeClusterPoolArgs]] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> LkeCluster
func GetLkeCluster(ctx *Context, name string, id IDInput, state *LkeClusterState, opts ...ResourceOption) (*LkeCluster, error)
public static LkeCluster Get(string name, Input<string> id, LkeClusterState? state, CustomResourceOptions? opts = null)
public static LkeCluster get(String name, Output<String> id, LkeClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Endpoints List<string> The endpoints for the Kubernetes API server.
- Control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- Dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- K8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- Kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- Label string
This Kubernetes cluster's unique label.
- Pools
List<Lke
Cluster Pool> Additional nested attributes:
- Region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- Status string
The status of the node. (
ready
,not_ready
)- List<string>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- Api
Endpoints []string The endpoints for the Kubernetes API server.
- Control
Plane LkeCluster Control Plane Args Defines settings for the Kubernetes Control Plane.
- Dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- K8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- Kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- Label string
This Kubernetes cluster's unique label.
- Pools
[]Lke
Cluster Pool Args Additional nested attributes:
- Region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- Status string
The status of the node. (
ready
,not_ready
)- []string
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- api
Endpoints List<String> The endpoints for the Kubernetes API server.
- control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- dashboard
Url String The Kubernetes Dashboard access URL for this cluster.
- k8s
Version String The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- kubeconfig String
The base64 encoded kubeconfig for the Kubernetes cluster.
- label String
This Kubernetes cluster's unique label.
- pools
List<Lke
Cluster Pool> Additional nested attributes:
- region String
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- status String
The status of the node. (
ready
,not_ready
)- List<String>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- api
Endpoints string[] The endpoints for the Kubernetes API server.
- control
Plane LkeCluster Control Plane Defines settings for the Kubernetes Control Plane.
- dashboard
Url string The Kubernetes Dashboard access URL for this cluster.
- k8s
Version string The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- kubeconfig string
The base64 encoded kubeconfig for the Kubernetes cluster.
- label string
This Kubernetes cluster's unique label.
- pools
Lke
Cluster Pool[] Additional nested attributes:
- region string
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- status string
The status of the node. (
ready
,not_ready
)- string[]
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- api_
endpoints Sequence[str] The endpoints for the Kubernetes API server.
- control_
plane LkeCluster Control Plane Args Defines settings for the Kubernetes Control Plane.
- dashboard_
url str The Kubernetes Dashboard access URL for this cluster.
- k8s_
version str The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- kubeconfig str
The base64 encoded kubeconfig for the Kubernetes cluster.
- label str
This Kubernetes cluster's unique label.
- pools
Sequence[Lke
Cluster Pool Args] Additional nested attributes:
- region str
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- status str
The status of the node. (
ready
,not_ready
)- Sequence[str]
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
- api
Endpoints List<String> The endpoints for the Kubernetes API server.
- control
Plane Property Map Defines settings for the Kubernetes Control Plane.
- dashboard
Url String The Kubernetes Dashboard access URL for this cluster.
- k8s
Version String The desired Kubernetes version for this Kubernetes cluster in the format of
major.minor
(e.g.1.21
), and the latest supported patch version will be deployed.- kubeconfig String
The base64 encoded kubeconfig for the Kubernetes cluster.
- label String
This Kubernetes cluster's unique label.
- pools List<Property Map>
Additional nested attributes:
- region String
This Kubernetes cluster's location.
pool
- (Required) The Node Pool specifications for the Kubernetes cluster. At least one Node Pool is required.control_plane
(Optional) Defines settings for the Kubernetes Control Plane.
- status String
The status of the node. (
ready
,not_ready
)- List<String>
An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.
Supporting Types
LkeClusterControlPlane, LkeClusterControlPlaneArgs
- High
Availability bool Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
- High
Availability bool Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
- high
Availability Boolean Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
- high
Availability boolean Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
- high_
availability bool Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
- high
Availability Boolean Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
LkeClusterPool, LkeClusterPoolArgs
- Count int
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- Type string
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- Autoscaler
Lke
Cluster Pool Autoscaler - Id int
The ID of the node.
- Nodes
List<Lke
Cluster Pool Node>
- Count int
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- Type string
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- Autoscaler
Lke
Cluster Pool Autoscaler - Id int
The ID of the node.
- Nodes
[]Lke
Cluster Pool Node
- count Integer
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- type String
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- autoscaler
Lke
Cluster Pool Autoscaler - id Integer
The ID of the node.
- nodes
List<Lke
Cluster Pool Node>
- count number
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- type string
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- autoscaler
Lke
Cluster Pool Autoscaler - id number
The ID of the node.
- nodes
Lke
Cluster Pool Node[]
- count int
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- type str
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- autoscaler
Lke
Cluster Pool Autoscaler - id int
The ID of the node.
- nodes
Sequence[Lke
Cluster Pool Node]
- count Number
The number of nodes in the Node Pool.
autoscaler
- (Optional) If defined, an autoscaler will be enabled with the given configuration.
- type String
A Linode Type for all of the nodes in the Node Pool. See all node types here.
- autoscaler Property Map
- id Number
The ID of the node.
- nodes List<Property Map>
LkeClusterPoolAutoscaler, LkeClusterPoolAutoscalerArgs
LkeClusterPoolNode, LkeClusterPoolNodeArgs
- Id string
The ID of the node.
- Instance
Id int The ID of the underlying Linode instance.
- Status string
The status of the node. (
ready
,not_ready
)
- Id string
The ID of the node.
- Instance
Id int The ID of the underlying Linode instance.
- Status string
The status of the node. (
ready
,not_ready
)
- id String
The ID of the node.
- instance
Id Integer The ID of the underlying Linode instance.
- status String
The status of the node. (
ready
,not_ready
)
- id string
The ID of the node.
- instance
Id number The ID of the underlying Linode instance.
- status string
The status of the node. (
ready
,not_ready
)
- id str
The ID of the node.
- instance_
id int The ID of the underlying Linode instance.
- status str
The status of the node. (
ready
,not_ready
)
- id String
The ID of the node.
- instance
Id Number The ID of the underlying Linode instance.
- status String
The status of the node. (
ready
,not_ready
)
Import
LKE Clusters can be imported using the id
, e.g.
$ pulumi import linode:index/lkeCluster:LkeCluster my_cluster 12345
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
linode
Terraform Provider.