Show / Hide Table of Contents

Class LkeCluster

Manages an LKE cluster.

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var my_cluster = new Linode.LkeCluster("my-cluster", new Linode.LkeClusterArgs
    {
        K8sVersion = "1.17",
        Label = "my-cluster",
        Pools = 
        {
            new Linode.Inputs.LkeClusterPoolArgs
            {
                Count = 3,
                Type = "g6-standard-2",
            },
        },
        Region = "us-central",
        Tags = 
        {
            "prod",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
LkeCluster
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class LkeCluster : CustomResource

Constructors

View Source

LkeCluster(String, LkeClusterArgs, CustomResourceOptions)

Create a LkeCluster resource with the given unique name, arguments, and options.

Declaration
public LkeCluster(string name, LkeClusterArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LkeClusterArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ApiEndpoints

The endpoints for the Kubernetes API server.

Declaration
public Output<ImmutableArray<string>> ApiEndpoints { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

K8sVersion

The desired Kubernetes version for this Kubernetes cluster in the format of major.minor (e.g. 1.17), and the latest supported patch version will be deployed.

Declaration
public Output<string> K8sVersion { get; }
Property Value
Type Description
Output<System.String>
View Source

Kubeconfig

The base64 encoded kubeconfig for the Kubernetes cluster.

Declaration
public Output<string> Kubeconfig { get; }
Property Value
Type Description
Output<System.String>
View Source

Label

This Kubernetes cluster's unique label.

Declaration
public Output<string> Label { get; }
Property Value
Type Description
Output<System.String>
View Source

Pools

Additional nested attributes:

Declaration
public Output<ImmutableArray<LkeClusterPool>> Pools { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<LkeClusterPool>>
View Source

Region

This Kubernetes cluster's location.

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

The status of the node.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

An array of tags applied to the Kubernetes cluster. Tags are for organizational purposes only.

Declaration
public Output<ImmutableArray<string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, LkeClusterState, CustomResourceOptions)

Get an existing LkeCluster resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static LkeCluster Get(string name, Input<string> id, LkeClusterState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LkeClusterState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
LkeCluster
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.