1. Packages
  2. Scaleway
  3. API Docs
  4. KubernetesCluster
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.KubernetesCluster

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Creates and manages Scaleway Kubernetes clusters. For more information, see the documentation.

    Examples

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const jack = new scaleway.KubernetesCluster("jack", {
        version: "1.24.3",
        cni: "cilium",
        deleteAdditionalResources: false,
    });
    const john = new scaleway.KubernetesNodePool("john", {
        clusterId: jack.id,
        nodeType: "DEV1-M",
        size: 1,
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    jack = scaleway.KubernetesCluster("jack",
        version="1.24.3",
        cni="cilium",
        delete_additional_resources=False)
    john = scaleway.KubernetesNodePool("john",
        cluster_id=jack.id,
        node_type="DEV1-M",
        size=1)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var jack = new Scaleway.KubernetesCluster("jack", new()
        {
            Version = "1.24.3",
            Cni = "cilium",
            DeleteAdditionalResources = false,
        });
    
        var john = new Scaleway.KubernetesNodePool("john", new()
        {
            ClusterId = jack.Id,
            NodeType = "DEV1-M",
            Size = 1,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		jack, err := scaleway.NewKubernetesCluster(ctx, "jack", &scaleway.KubernetesClusterArgs{
    			Version:                   pulumi.String("1.24.3"),
    			Cni:                       pulumi.String("cilium"),
    			DeleteAdditionalResources: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewKubernetesNodePool(ctx, "john", &scaleway.KubernetesNodePoolArgs{
    			ClusterId: jack.ID(),
    			NodeType:  pulumi.String("DEV1-M"),
    			Size:      pulumi.Int(1),
    		})
    		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.scaleway.KubernetesCluster;
    import com.pulumi.scaleway.KubernetesClusterArgs;
    import com.pulumi.scaleway.KubernetesNodePool;
    import com.pulumi.scaleway.KubernetesNodePoolArgs;
    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 jack = new KubernetesCluster("jack", KubernetesClusterArgs.builder()        
                .version("1.24.3")
                .cni("cilium")
                .deleteAdditionalResources(false)
                .build());
    
            var john = new KubernetesNodePool("john", KubernetesNodePoolArgs.builder()        
                .clusterId(jack.id())
                .nodeType("DEV1-M")
                .size(1)
                .build());
    
        }
    }
    
    resources:
      jack:
        type: scaleway:KubernetesCluster
        properties:
          version: 1.24.3
          cni: cilium
          deleteAdditionalResources: false
      john:
        type: scaleway:KubernetesNodePool
        properties:
          clusterId: ${jack.id}
          nodeType: DEV1-M
          size: 1
    

    Multicloud

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const henry = new scaleway.KubernetesCluster("henry", {
        type: "multicloud",
        version: "1.24.3",
        cni: "kilo",
        deleteAdditionalResources: false,
    });
    const friendFromOuterSpace = new scaleway.KubernetesNodePool("friendFromOuterSpace", {
        clusterId: henry.id,
        nodeType: "external",
        size: 0,
        minSize: 0,
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    henry = scaleway.KubernetesCluster("henry",
        type="multicloud",
        version="1.24.3",
        cni="kilo",
        delete_additional_resources=False)
    friend_from_outer_space = scaleway.KubernetesNodePool("friendFromOuterSpace",
        cluster_id=henry.id,
        node_type="external",
        size=0,
        min_size=0)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var henry = new Scaleway.KubernetesCluster("henry", new()
        {
            Type = "multicloud",
            Version = "1.24.3",
            Cni = "kilo",
            DeleteAdditionalResources = false,
        });
    
        var friendFromOuterSpace = new Scaleway.KubernetesNodePool("friendFromOuterSpace", new()
        {
            ClusterId = henry.Id,
            NodeType = "external",
            Size = 0,
            MinSize = 0,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		henry, err := scaleway.NewKubernetesCluster(ctx, "henry", &scaleway.KubernetesClusterArgs{
    			Type:                      pulumi.String("multicloud"),
    			Version:                   pulumi.String("1.24.3"),
    			Cni:                       pulumi.String("kilo"),
    			DeleteAdditionalResources: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewKubernetesNodePool(ctx, "friendFromOuterSpace", &scaleway.KubernetesNodePoolArgs{
    			ClusterId: henry.ID(),
    			NodeType:  pulumi.String("external"),
    			Size:      pulumi.Int(0),
    			MinSize:   pulumi.Int(0),
    		})
    		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.scaleway.KubernetesCluster;
    import com.pulumi.scaleway.KubernetesClusterArgs;
    import com.pulumi.scaleway.KubernetesNodePool;
    import com.pulumi.scaleway.KubernetesNodePoolArgs;
    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 henry = new KubernetesCluster("henry", KubernetesClusterArgs.builder()        
                .type("multicloud")
                .version("1.24.3")
                .cni("kilo")
                .deleteAdditionalResources(false)
                .build());
    
            var friendFromOuterSpace = new KubernetesNodePool("friendFromOuterSpace", KubernetesNodePoolArgs.builder()        
                .clusterId(henry.id())
                .nodeType("external")
                .size(0)
                .minSize(0)
                .build());
    
        }
    }
    
    resources:
      henry:
        type: scaleway:KubernetesCluster
        properties:
          type: multicloud
          version: 1.24.3
          cni: kilo
          deleteAdditionalResources: false
      friendFromOuterSpace:
        type: scaleway:KubernetesNodePool
        properties:
          clusterId: ${henry.id}
          nodeType: external
          size: 0
          minSize: 0
    

    For a detailed example of how to add or run Elastic Metal servers instead of instances on your cluster, please refer to this guide.

    With additional configuration

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const johnKubernetesCluster = new scaleway.KubernetesCluster("johnKubernetesCluster", {
        description: "my awesome cluster",
        version: "1.24.3",
        cni: "calico",
        tags: [
            "i'm an awesome tag",
            "yay",
        ],
        deleteAdditionalResources: false,
        autoscalerConfig: {
            disableScaleDown: false,
            scaleDownDelayAfterAdd: "5m",
            estimator: "binpacking",
            expander: "random",
            ignoreDaemonsetsUtilization: true,
            balanceSimilarNodeGroups: true,
            expendablePodsPriorityCutoff: -5,
        },
    });
    const johnKubernetesNodePool = new scaleway.KubernetesNodePool("johnKubernetesNodePool", {
        clusterId: johnKubernetesCluster.id,
        nodeType: "DEV1-M",
        size: 3,
        autoscaling: true,
        autohealing: true,
        minSize: 1,
        maxSize: 5,
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    john_kubernetes_cluster = scaleway.KubernetesCluster("johnKubernetesCluster",
        description="my awesome cluster",
        version="1.24.3",
        cni="calico",
        tags=[
            "i'm an awesome tag",
            "yay",
        ],
        delete_additional_resources=False,
        autoscaler_config=scaleway.KubernetesClusterAutoscalerConfigArgs(
            disable_scale_down=False,
            scale_down_delay_after_add="5m",
            estimator="binpacking",
            expander="random",
            ignore_daemonsets_utilization=True,
            balance_similar_node_groups=True,
            expendable_pods_priority_cutoff=-5,
        ))
    john_kubernetes_node_pool = scaleway.KubernetesNodePool("johnKubernetesNodePool",
        cluster_id=john_kubernetes_cluster.id,
        node_type="DEV1-M",
        size=3,
        autoscaling=True,
        autohealing=True,
        min_size=1,
        max_size=5)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var johnKubernetesCluster = new Scaleway.KubernetesCluster("johnKubernetesCluster", new()
        {
            Description = "my awesome cluster",
            Version = "1.24.3",
            Cni = "calico",
            Tags = new[]
            {
                "i'm an awesome tag",
                "yay",
            },
            DeleteAdditionalResources = false,
            AutoscalerConfig = new Scaleway.Inputs.KubernetesClusterAutoscalerConfigArgs
            {
                DisableScaleDown = false,
                ScaleDownDelayAfterAdd = "5m",
                Estimator = "binpacking",
                Expander = "random",
                IgnoreDaemonsetsUtilization = true,
                BalanceSimilarNodeGroups = true,
                ExpendablePodsPriorityCutoff = -5,
            },
        });
    
        var johnKubernetesNodePool = new Scaleway.KubernetesNodePool("johnKubernetesNodePool", new()
        {
            ClusterId = johnKubernetesCluster.Id,
            NodeType = "DEV1-M",
            Size = 3,
            Autoscaling = true,
            Autohealing = true,
            MinSize = 1,
            MaxSize = 5,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		johnKubernetesCluster, err := scaleway.NewKubernetesCluster(ctx, "johnKubernetesCluster", &scaleway.KubernetesClusterArgs{
    			Description: pulumi.String("my awesome cluster"),
    			Version:     pulumi.String("1.24.3"),
    			Cni:         pulumi.String("calico"),
    			Tags: pulumi.StringArray{
    				pulumi.String("i'm an awesome tag"),
    				pulumi.String("yay"),
    			},
    			DeleteAdditionalResources: pulumi.Bool(false),
    			AutoscalerConfig: &scaleway.KubernetesClusterAutoscalerConfigArgs{
    				DisableScaleDown:             pulumi.Bool(false),
    				ScaleDownDelayAfterAdd:       pulumi.String("5m"),
    				Estimator:                    pulumi.String("binpacking"),
    				Expander:                     pulumi.String("random"),
    				IgnoreDaemonsetsUtilization:  pulumi.Bool(true),
    				BalanceSimilarNodeGroups:     pulumi.Bool(true),
    				ExpendablePodsPriorityCutoff: -5,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewKubernetesNodePool(ctx, "johnKubernetesNodePool", &scaleway.KubernetesNodePoolArgs{
    			ClusterId:   johnKubernetesCluster.ID(),
    			NodeType:    pulumi.String("DEV1-M"),
    			Size:        pulumi.Int(3),
    			Autoscaling: pulumi.Bool(true),
    			Autohealing: pulumi.Bool(true),
    			MinSize:     pulumi.Int(1),
    			MaxSize:     pulumi.Int(5),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Create KubernetesCluster Resource

    new KubernetesCluster(name: string, args: KubernetesClusterArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesCluster(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          admission_plugins: Optional[Sequence[str]] = None,
                          apiserver_cert_sans: Optional[Sequence[str]] = None,
                          auto_upgrade: Optional[KubernetesClusterAutoUpgradeArgs] = None,
                          autoscaler_config: Optional[KubernetesClusterAutoscalerConfigArgs] = None,
                          cni: Optional[str] = None,
                          delete_additional_resources: Optional[bool] = None,
                          description: Optional[str] = None,
                          feature_gates: Optional[Sequence[str]] = None,
                          name: Optional[str] = None,
                          open_id_connect_config: Optional[KubernetesClusterOpenIdConnectConfigArgs] = None,
                          private_network_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          region: Optional[str] = None,
                          tags: Optional[Sequence[str]] = None,
                          type: Optional[str] = None,
                          version: Optional[str] = None)
    @overload
    def KubernetesCluster(resource_name: str,
                          args: KubernetesClusterArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewKubernetesCluster(ctx *Context, name string, args KubernetesClusterArgs, opts ...ResourceOption) (*KubernetesCluster, error)
    public KubernetesCluster(string name, KubernetesClusterArgs args, CustomResourceOptions? opts = null)
    public KubernetesCluster(String name, KubernetesClusterArgs args)
    public KubernetesCluster(String name, KubernetesClusterArgs args, CustomResourceOptions options)
    
    type: scaleway:KubernetesCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args KubernetesClusterArgs
    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 KubernetesClusterArgs
    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 KubernetesClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesCluster 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 KubernetesCluster resource accepts the following input properties:

    Cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    DeleteAdditionalResources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    Version string

    The version of the Kubernetes cluster.

    AdmissionPlugins List<string>

    The list of admission plugins to enable on the cluster.

    ApiserverCertSans List<string>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    AutoUpgrade Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    AutoscalerConfig Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    Description string

    A description for the Kubernetes cluster.

    FeatureGates List<string>

    The list of feature gates to enable on the cluster.

    Name string

    The name for the Kubernetes cluster.

    OpenIdConnectConfig Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    PrivateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    ProjectId string

    project_id) The ID of the project the cluster is associated with.

    Region string

    region) The region in which the cluster should be created.

    Tags List<string>

    The tags associated with the Kubernetes cluster.

    Type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    Cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    DeleteAdditionalResources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    Version string

    The version of the Kubernetes cluster.

    AdmissionPlugins []string

    The list of admission plugins to enable on the cluster.

    ApiserverCertSans []string

    Additional Subject Alternative Names for the Kubernetes API server certificate

    AutoUpgrade KubernetesClusterAutoUpgradeArgs

    The auto upgrade configuration.

    AutoscalerConfig KubernetesClusterAutoscalerConfigArgs

    The configuration options for the Kubernetes cluster autoscaler.

    Description string

    A description for the Kubernetes cluster.

    FeatureGates []string

    The list of feature gates to enable on the cluster.

    Name string

    The name for the Kubernetes cluster.

    OpenIdConnectConfig KubernetesClusterOpenIdConnectConfigArgs

    The OpenID Connect configuration of the cluster

    PrivateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    ProjectId string

    project_id) The ID of the project the cluster is associated with.

    Region string

    region) The region in which the cluster should be created.

    Tags []string

    The tags associated with the Kubernetes cluster.

    Type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    cni String

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    deleteAdditionalResources Boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    version String

    The version of the Kubernetes cluster.

    admissionPlugins List<String>

    The list of admission plugins to enable on the cluster.

    apiserverCertSans List<String>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    autoUpgrade KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    autoscalerConfig KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    description String

    A description for the Kubernetes cluster.

    featureGates List<String>

    The list of feature gates to enable on the cluster.

    name String

    The name for the Kubernetes cluster.

    openIdConnectConfig KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    privateNetworkId String

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId String

    project_id) The ID of the project the cluster is associated with.

    region String

    region) The region in which the cluster should be created.

    tags List<String>

    The tags associated with the Kubernetes cluster.

    type String

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    deleteAdditionalResources boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    version string

    The version of the Kubernetes cluster.

    admissionPlugins string[]

    The list of admission plugins to enable on the cluster.

    apiserverCertSans string[]

    Additional Subject Alternative Names for the Kubernetes API server certificate

    autoUpgrade KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    autoscalerConfig KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    description string

    A description for the Kubernetes cluster.

    featureGates string[]

    The list of feature gates to enable on the cluster.

    name string

    The name for the Kubernetes cluster.

    openIdConnectConfig KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    privateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId string

    project_id) The ID of the project the cluster is associated with.

    region string

    region) The region in which the cluster should be created.

    tags string[]

    The tags associated with the Kubernetes cluster.

    type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    cni str

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    delete_additional_resources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    version str

    The version of the Kubernetes cluster.

    admission_plugins Sequence[str]

    The list of admission plugins to enable on the cluster.

    apiserver_cert_sans Sequence[str]

    Additional Subject Alternative Names for the Kubernetes API server certificate

    auto_upgrade KubernetesClusterAutoUpgradeArgs

    The auto upgrade configuration.

    autoscaler_config KubernetesClusterAutoscalerConfigArgs

    The configuration options for the Kubernetes cluster autoscaler.

    description str

    A description for the Kubernetes cluster.

    feature_gates Sequence[str]

    The list of feature gates to enable on the cluster.

    name str

    The name for the Kubernetes cluster.

    open_id_connect_config KubernetesClusterOpenIdConnectConfigArgs

    The OpenID Connect configuration of the cluster

    private_network_id str

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    project_id str

    project_id) The ID of the project the cluster is associated with.

    region str

    region) The region in which the cluster should be created.

    tags Sequence[str]

    The tags associated with the Kubernetes cluster.

    type str

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    cni String

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    deleteAdditionalResources Boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    version String

    The version of the Kubernetes cluster.

    admissionPlugins List<String>

    The list of admission plugins to enable on the cluster.

    apiserverCertSans List<String>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    autoUpgrade Property Map

    The auto upgrade configuration.

    autoscalerConfig Property Map

    The configuration options for the Kubernetes cluster autoscaler.

    description String

    A description for the Kubernetes cluster.

    featureGates List<String>

    The list of feature gates to enable on the cluster.

    name String

    The name for the Kubernetes cluster.

    openIdConnectConfig Property Map

    The OpenID Connect configuration of the cluster

    privateNetworkId String

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId String

    project_id) The ID of the project the cluster is associated with.

    region String

    region) The region in which the cluster should be created.

    tags List<String>

    The tags associated with the Kubernetes cluster.

    type String

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesCluster resource produces the following output properties:

    ApiserverUrl string

    The URL of the Kubernetes API server.

    CreatedAt string

    The creation date of the cluster.

    Id string

    The provider-assigned unique ID for this managed resource.

    Kubeconfigs List<Lbrlabs.PulumiPackage.Scaleway.Outputs.KubernetesClusterKubeconfig>

    The kubeconfig configuration file of the Kubernetes cluster

    OrganizationId string

    The organization ID the cluster is associated with.

    Status string

    The status of the Kubernetes cluster.

    UpdatedAt string

    The last update date of the cluster.

    UpgradeAvailable bool

    Set to true if a newer Kubernetes version is available.

    WildcardDns string

    The DNS wildcard that points to all ready nodes.

    ApiserverUrl string

    The URL of the Kubernetes API server.

    CreatedAt string

    The creation date of the cluster.

    Id string

    The provider-assigned unique ID for this managed resource.

    Kubeconfigs []KubernetesClusterKubeconfig

    The kubeconfig configuration file of the Kubernetes cluster

    OrganizationId string

    The organization ID the cluster is associated with.

    Status string

    The status of the Kubernetes cluster.

    UpdatedAt string

    The last update date of the cluster.

    UpgradeAvailable bool

    Set to true if a newer Kubernetes version is available.

    WildcardDns string

    The DNS wildcard that points to all ready nodes.

    apiserverUrl String

    The URL of the Kubernetes API server.

    createdAt String

    The creation date of the cluster.

    id String

    The provider-assigned unique ID for this managed resource.

    kubeconfigs List<KubernetesClusterKubeconfig>

    The kubeconfig configuration file of the Kubernetes cluster

    organizationId String

    The organization ID the cluster is associated with.

    status String

    The status of the Kubernetes cluster.

    updatedAt String

    The last update date of the cluster.

    upgradeAvailable Boolean

    Set to true if a newer Kubernetes version is available.

    wildcardDns String

    The DNS wildcard that points to all ready nodes.

    apiserverUrl string

    The URL of the Kubernetes API server.

    createdAt string

    The creation date of the cluster.

    id string

    The provider-assigned unique ID for this managed resource.

    kubeconfigs KubernetesClusterKubeconfig[]

    The kubeconfig configuration file of the Kubernetes cluster

    organizationId string

    The organization ID the cluster is associated with.

    status string

    The status of the Kubernetes cluster.

    updatedAt string

    The last update date of the cluster.

    upgradeAvailable boolean

    Set to true if a newer Kubernetes version is available.

    wildcardDns string

    The DNS wildcard that points to all ready nodes.

    apiserver_url str

    The URL of the Kubernetes API server.

    created_at str

    The creation date of the cluster.

    id str

    The provider-assigned unique ID for this managed resource.

    kubeconfigs Sequence[KubernetesClusterKubeconfig]

    The kubeconfig configuration file of the Kubernetes cluster

    organization_id str

    The organization ID the cluster is associated with.

    status str

    The status of the Kubernetes cluster.

    updated_at str

    The last update date of the cluster.

    upgrade_available bool

    Set to true if a newer Kubernetes version is available.

    wildcard_dns str

    The DNS wildcard that points to all ready nodes.

    apiserverUrl String

    The URL of the Kubernetes API server.

    createdAt String

    The creation date of the cluster.

    id String

    The provider-assigned unique ID for this managed resource.

    kubeconfigs List<Property Map>

    The kubeconfig configuration file of the Kubernetes cluster

    organizationId String

    The organization ID the cluster is associated with.

    status String

    The status of the Kubernetes cluster.

    updatedAt String

    The last update date of the cluster.

    upgradeAvailable Boolean

    Set to true if a newer Kubernetes version is available.

    wildcardDns String

    The DNS wildcard that points to all ready nodes.

    Look up Existing KubernetesCluster Resource

    Get an existing KubernetesCluster 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?: KubernetesClusterState, opts?: CustomResourceOptions): KubernetesCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admission_plugins: Optional[Sequence[str]] = None,
            apiserver_cert_sans: Optional[Sequence[str]] = None,
            apiserver_url: Optional[str] = None,
            auto_upgrade: Optional[KubernetesClusterAutoUpgradeArgs] = None,
            autoscaler_config: Optional[KubernetesClusterAutoscalerConfigArgs] = None,
            cni: Optional[str] = None,
            created_at: Optional[str] = None,
            delete_additional_resources: Optional[bool] = None,
            description: Optional[str] = None,
            feature_gates: Optional[Sequence[str]] = None,
            kubeconfigs: Optional[Sequence[KubernetesClusterKubeconfigArgs]] = None,
            name: Optional[str] = None,
            open_id_connect_config: Optional[KubernetesClusterOpenIdConnectConfigArgs] = None,
            organization_id: Optional[str] = None,
            private_network_id: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None,
            upgrade_available: Optional[bool] = None,
            version: Optional[str] = None,
            wildcard_dns: Optional[str] = None) -> KubernetesCluster
    func GetKubernetesCluster(ctx *Context, name string, id IDInput, state *KubernetesClusterState, opts ...ResourceOption) (*KubernetesCluster, error)
    public static KubernetesCluster Get(string name, Input<string> id, KubernetesClusterState? state, CustomResourceOptions? opts = null)
    public static KubernetesCluster get(String name, Output<String> id, KubernetesClusterState 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.
    The following state arguments are supported:
    AdmissionPlugins List<string>

    The list of admission plugins to enable on the cluster.

    ApiserverCertSans List<string>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    ApiserverUrl string

    The URL of the Kubernetes API server.

    AutoUpgrade Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    AutoscalerConfig Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    Cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    CreatedAt string

    The creation date of the cluster.

    DeleteAdditionalResources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    Description string

    A description for the Kubernetes cluster.

    FeatureGates List<string>

    The list of feature gates to enable on the cluster.

    Kubeconfigs List<Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterKubeconfig>

    The kubeconfig configuration file of the Kubernetes cluster

    Name string

    The name for the Kubernetes cluster.

    OpenIdConnectConfig Lbrlabs.PulumiPackage.Scaleway.Inputs.KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    OrganizationId string

    The organization ID the cluster is associated with.

    PrivateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    ProjectId string

    project_id) The ID of the project the cluster is associated with.

    Region string

    region) The region in which the cluster should be created.

    Status string

    The status of the Kubernetes cluster.

    Tags List<string>

    The tags associated with the Kubernetes cluster.

    Type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    UpdatedAt string

    The last update date of the cluster.

    UpgradeAvailable bool

    Set to true if a newer Kubernetes version is available.

    Version string

    The version of the Kubernetes cluster.

    WildcardDns string

    The DNS wildcard that points to all ready nodes.

    AdmissionPlugins []string

    The list of admission plugins to enable on the cluster.

    ApiserverCertSans []string

    Additional Subject Alternative Names for the Kubernetes API server certificate

    ApiserverUrl string

    The URL of the Kubernetes API server.

    AutoUpgrade KubernetesClusterAutoUpgradeArgs

    The auto upgrade configuration.

    AutoscalerConfig KubernetesClusterAutoscalerConfigArgs

    The configuration options for the Kubernetes cluster autoscaler.

    Cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    CreatedAt string

    The creation date of the cluster.

    DeleteAdditionalResources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    Description string

    A description for the Kubernetes cluster.

    FeatureGates []string

    The list of feature gates to enable on the cluster.

    Kubeconfigs []KubernetesClusterKubeconfigArgs

    The kubeconfig configuration file of the Kubernetes cluster

    Name string

    The name for the Kubernetes cluster.

    OpenIdConnectConfig KubernetesClusterOpenIdConnectConfigArgs

    The OpenID Connect configuration of the cluster

    OrganizationId string

    The organization ID the cluster is associated with.

    PrivateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    ProjectId string

    project_id) The ID of the project the cluster is associated with.

    Region string

    region) The region in which the cluster should be created.

    Status string

    The status of the Kubernetes cluster.

    Tags []string

    The tags associated with the Kubernetes cluster.

    Type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    UpdatedAt string

    The last update date of the cluster.

    UpgradeAvailable bool

    Set to true if a newer Kubernetes version is available.

    Version string

    The version of the Kubernetes cluster.

    WildcardDns string

    The DNS wildcard that points to all ready nodes.

    admissionPlugins List<String>

    The list of admission plugins to enable on the cluster.

    apiserverCertSans List<String>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    apiserverUrl String

    The URL of the Kubernetes API server.

    autoUpgrade KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    autoscalerConfig KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    cni String

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    createdAt String

    The creation date of the cluster.

    deleteAdditionalResources Boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    description String

    A description for the Kubernetes cluster.

    featureGates List<String>

    The list of feature gates to enable on the cluster.

    kubeconfigs List<KubernetesClusterKubeconfig>

    The kubeconfig configuration file of the Kubernetes cluster

    name String

    The name for the Kubernetes cluster.

    openIdConnectConfig KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    organizationId String

    The organization ID the cluster is associated with.

    privateNetworkId String

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId String

    project_id) The ID of the project the cluster is associated with.

    region String

    region) The region in which the cluster should be created.

    status String

    The status of the Kubernetes cluster.

    tags List<String>

    The tags associated with the Kubernetes cluster.

    type String

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    updatedAt String

    The last update date of the cluster.

    upgradeAvailable Boolean

    Set to true if a newer Kubernetes version is available.

    version String

    The version of the Kubernetes cluster.

    wildcardDns String

    The DNS wildcard that points to all ready nodes.

    admissionPlugins string[]

    The list of admission plugins to enable on the cluster.

    apiserverCertSans string[]

    Additional Subject Alternative Names for the Kubernetes API server certificate

    apiserverUrl string

    The URL of the Kubernetes API server.

    autoUpgrade KubernetesClusterAutoUpgrade

    The auto upgrade configuration.

    autoscalerConfig KubernetesClusterAutoscalerConfig

    The configuration options for the Kubernetes cluster autoscaler.

    cni string

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    createdAt string

    The creation date of the cluster.

    deleteAdditionalResources boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    description string

    A description for the Kubernetes cluster.

    featureGates string[]

    The list of feature gates to enable on the cluster.

    kubeconfigs KubernetesClusterKubeconfig[]

    The kubeconfig configuration file of the Kubernetes cluster

    name string

    The name for the Kubernetes cluster.

    openIdConnectConfig KubernetesClusterOpenIdConnectConfig

    The OpenID Connect configuration of the cluster

    organizationId string

    The organization ID the cluster is associated with.

    privateNetworkId string

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId string

    project_id) The ID of the project the cluster is associated with.

    region string

    region) The region in which the cluster should be created.

    status string

    The status of the Kubernetes cluster.

    tags string[]

    The tags associated with the Kubernetes cluster.

    type string

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    updatedAt string

    The last update date of the cluster.

    upgradeAvailable boolean

    Set to true if a newer Kubernetes version is available.

    version string

    The version of the Kubernetes cluster.

    wildcardDns string

    The DNS wildcard that points to all ready nodes.

    admission_plugins Sequence[str]

    The list of admission plugins to enable on the cluster.

    apiserver_cert_sans Sequence[str]

    Additional Subject Alternative Names for the Kubernetes API server certificate

    apiserver_url str

    The URL of the Kubernetes API server.

    auto_upgrade KubernetesClusterAutoUpgradeArgs

    The auto upgrade configuration.

    autoscaler_config KubernetesClusterAutoscalerConfigArgs

    The configuration options for the Kubernetes cluster autoscaler.

    cni str

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    created_at str

    The creation date of the cluster.

    delete_additional_resources bool

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    description str

    A description for the Kubernetes cluster.

    feature_gates Sequence[str]

    The list of feature gates to enable on the cluster.

    kubeconfigs Sequence[KubernetesClusterKubeconfigArgs]

    The kubeconfig configuration file of the Kubernetes cluster

    name str

    The name for the Kubernetes cluster.

    open_id_connect_config KubernetesClusterOpenIdConnectConfigArgs

    The OpenID Connect configuration of the cluster

    organization_id str

    The organization ID the cluster is associated with.

    private_network_id str

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    project_id str

    project_id) The ID of the project the cluster is associated with.

    region str

    region) The region in which the cluster should be created.

    status str

    The status of the Kubernetes cluster.

    tags Sequence[str]

    The tags associated with the Kubernetes cluster.

    type str

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    updated_at str

    The last update date of the cluster.

    upgrade_available bool

    Set to true if a newer Kubernetes version is available.

    version str

    The version of the Kubernetes cluster.

    wildcard_dns str

    The DNS wildcard that points to all ready nodes.

    admissionPlugins List<String>

    The list of admission plugins to enable on the cluster.

    apiserverCertSans List<String>

    Additional Subject Alternative Names for the Kubernetes API server certificate

    apiserverUrl String

    The URL of the Kubernetes API server.

    autoUpgrade Property Map

    The auto upgrade configuration.

    autoscalerConfig Property Map

    The configuration options for the Kubernetes cluster autoscaler.

    cni String

    The Container Network Interface (CNI) for the Kubernetes cluster.

    Important: Updates to this field will recreate a new resource.

    createdAt String

    The creation date of the cluster.

    deleteAdditionalResources Boolean

    Delete additional resources like block volumes, loadbalancers and the cluster private network (if empty) that were created in Kubernetes on cluster deletion.

    Important: Setting this field to true means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as false.

    description String

    A description for the Kubernetes cluster.

    featureGates List<String>

    The list of feature gates to enable on the cluster.

    kubeconfigs List<Property Map>

    The kubeconfig configuration file of the Kubernetes cluster

    name String

    The name for the Kubernetes cluster.

    openIdConnectConfig Property Map

    The OpenID Connect configuration of the cluster

    organizationId String

    The organization ID the cluster is associated with.

    privateNetworkId String

    The ID of the private network of the cluster.

    Important: This field can be set at cluster creation or later to migrate to a Private Network. Any subsequent change after this field got set will prompt for cluster recreation.

    projectId String

    project_id) The ID of the project the cluster is associated with.

    region String

    region) The region in which the cluster should be created.

    status String

    The status of the Kubernetes cluster.

    tags List<String>

    The tags associated with the Kubernetes cluster.

    type String

    The type of Kubernetes cluster. Possible values are: kapsule or multicloud.

    updatedAt String

    The last update date of the cluster.

    upgradeAvailable Boolean

    Set to true if a newer Kubernetes version is available.

    version String

    The version of the Kubernetes cluster.

    wildcardDns String

    The DNS wildcard that points to all ready nodes.

    Supporting Types

    KubernetesClusterAutoUpgrade, KubernetesClusterAutoUpgradeArgs

    Enable bool

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    MaintenanceWindowDay string

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    MaintenanceWindowStartHour int

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    Enable bool

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    MaintenanceWindowDay string

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    MaintenanceWindowStartHour int

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    enable Boolean

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    maintenanceWindowDay String

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    maintenanceWindowStartHour Integer

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    enable boolean

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    maintenanceWindowDay string

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    maintenanceWindowStartHour number

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    enable bool

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    maintenance_window_day str

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    maintenance_window_start_hour int

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    enable Boolean

    Set to true to enable Kubernetes patch version auto upgrades.

    Important: When enabling auto upgrades, the version field take a minor version like x.y (ie 1.18).

    maintenanceWindowDay String

    The day of the auto upgrade maintenance window (monday to sunday, or any).

    maintenanceWindowStartHour Number

    The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

    KubernetesClusterAutoscalerConfig, KubernetesClusterAutoscalerConfigArgs

    BalanceSimilarNodeGroups bool

    Detect similar node groups and balance the number of nodes between them.

    DisableScaleDown bool

    Disables the scale down feature of the autoscaler.

    Estimator string

    Type of resource estimator to be used in scale up.

    Expander string

    Type of node group expander to be used in scale up.

    ExpendablePodsPriorityCutoff int

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    IgnoreDaemonsetsUtilization bool

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    MaxGracefulTerminationSec int

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    ScaleDownDelayAfterAdd string

    How long after scale up that scale down evaluation resumes.

    ScaleDownUnneededTime string

    How long a node should be unneeded before it is eligible for scale down.

    ScaleDownUtilizationThreshold double

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    BalanceSimilarNodeGroups bool

    Detect similar node groups and balance the number of nodes between them.

    DisableScaleDown bool

    Disables the scale down feature of the autoscaler.

    Estimator string

    Type of resource estimator to be used in scale up.

    Expander string

    Type of node group expander to be used in scale up.

    ExpendablePodsPriorityCutoff int

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    IgnoreDaemonsetsUtilization bool

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    MaxGracefulTerminationSec int

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    ScaleDownDelayAfterAdd string

    How long after scale up that scale down evaluation resumes.

    ScaleDownUnneededTime string

    How long a node should be unneeded before it is eligible for scale down.

    ScaleDownUtilizationThreshold float64

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    balanceSimilarNodeGroups Boolean

    Detect similar node groups and balance the number of nodes between them.

    disableScaleDown Boolean

    Disables the scale down feature of the autoscaler.

    estimator String

    Type of resource estimator to be used in scale up.

    expander String

    Type of node group expander to be used in scale up.

    expendablePodsPriorityCutoff Integer

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    ignoreDaemonsetsUtilization Boolean

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    maxGracefulTerminationSec Integer

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    scaleDownDelayAfterAdd String

    How long after scale up that scale down evaluation resumes.

    scaleDownUnneededTime String

    How long a node should be unneeded before it is eligible for scale down.

    scaleDownUtilizationThreshold Double

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    balanceSimilarNodeGroups boolean

    Detect similar node groups and balance the number of nodes between them.

    disableScaleDown boolean

    Disables the scale down feature of the autoscaler.

    estimator string

    Type of resource estimator to be used in scale up.

    expander string

    Type of node group expander to be used in scale up.

    expendablePodsPriorityCutoff number

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    ignoreDaemonsetsUtilization boolean

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    maxGracefulTerminationSec number

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    scaleDownDelayAfterAdd string

    How long after scale up that scale down evaluation resumes.

    scaleDownUnneededTime string

    How long a node should be unneeded before it is eligible for scale down.

    scaleDownUtilizationThreshold number

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    balance_similar_node_groups bool

    Detect similar node groups and balance the number of nodes between them.

    disable_scale_down bool

    Disables the scale down feature of the autoscaler.

    estimator str

    Type of resource estimator to be used in scale up.

    expander str

    Type of node group expander to be used in scale up.

    expendable_pods_priority_cutoff int

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    ignore_daemonsets_utilization bool

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    max_graceful_termination_sec int

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    scale_down_delay_after_add str

    How long after scale up that scale down evaluation resumes.

    scale_down_unneeded_time str

    How long a node should be unneeded before it is eligible for scale down.

    scale_down_utilization_threshold float

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    balanceSimilarNodeGroups Boolean

    Detect similar node groups and balance the number of nodes between them.

    disableScaleDown Boolean

    Disables the scale down feature of the autoscaler.

    estimator String

    Type of resource estimator to be used in scale up.

    expander String

    Type of node group expander to be used in scale up.

    expendablePodsPriorityCutoff Number

    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

    ignoreDaemonsetsUtilization Boolean

    Ignore DaemonSet pods when calculating resource utilization for scaling down.

    maxGracefulTerminationSec Number

    Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

    scaleDownDelayAfterAdd String

    How long after scale up that scale down evaluation resumes.

    scaleDownUnneededTime String

    How long a node should be unneeded before it is eligible for scale down.

    scaleDownUtilizationThreshold Number

    Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

    KubernetesClusterKubeconfig, KubernetesClusterKubeconfigArgs

    ClusterCaCertificate string

    The CA certificate of the Kubernetes API server.

    ConfigFile string

    The raw kubeconfig file.

    Host string

    The URL of the Kubernetes API server.

    Token string

    The token to connect to the Kubernetes API server.

    ClusterCaCertificate string

    The CA certificate of the Kubernetes API server.

    ConfigFile string

    The raw kubeconfig file.

    Host string

    The URL of the Kubernetes API server.

    Token string

    The token to connect to the Kubernetes API server.

    clusterCaCertificate String

    The CA certificate of the Kubernetes API server.

    configFile String

    The raw kubeconfig file.

    host String

    The URL of the Kubernetes API server.

    token String

    The token to connect to the Kubernetes API server.

    clusterCaCertificate string

    The CA certificate of the Kubernetes API server.

    configFile string

    The raw kubeconfig file.

    host string

    The URL of the Kubernetes API server.

    token string

    The token to connect to the Kubernetes API server.

    cluster_ca_certificate str

    The CA certificate of the Kubernetes API server.

    config_file str

    The raw kubeconfig file.

    host str

    The URL of the Kubernetes API server.

    token str

    The token to connect to the Kubernetes API server.

    clusterCaCertificate String

    The CA certificate of the Kubernetes API server.

    configFile String

    The raw kubeconfig file.

    host String

    The URL of the Kubernetes API server.

    token String

    The token to connect to the Kubernetes API server.

    KubernetesClusterOpenIdConnectConfig, KubernetesClusterOpenIdConnectConfigArgs

    ClientId string

    A client id that all tokens must be issued for

    IssuerUrl string

    URL of the provider which allows the API server to discover public signing keys

    GroupsClaims List<string>

    JWT claim to use as the user's group

    GroupsPrefix string

    Prefix prepended to group claims

    RequiredClaims List<string>

    Multiple key=value pairs that describes a required claim in the ID Token

    UsernameClaim string

    JWT claim to use as the user name

    UsernamePrefix string

    Prefix prepended to username

    ClientId string

    A client id that all tokens must be issued for

    IssuerUrl string

    URL of the provider which allows the API server to discover public signing keys

    GroupsClaims []string

    JWT claim to use as the user's group

    GroupsPrefix string

    Prefix prepended to group claims

    RequiredClaims []string

    Multiple key=value pairs that describes a required claim in the ID Token

    UsernameClaim string

    JWT claim to use as the user name

    UsernamePrefix string

    Prefix prepended to username

    clientId String

    A client id that all tokens must be issued for

    issuerUrl String

    URL of the provider which allows the API server to discover public signing keys

    groupsClaims List<String>

    JWT claim to use as the user's group

    groupsPrefix String

    Prefix prepended to group claims

    requiredClaims List<String>

    Multiple key=value pairs that describes a required claim in the ID Token

    usernameClaim String

    JWT claim to use as the user name

    usernamePrefix String

    Prefix prepended to username

    clientId string

    A client id that all tokens must be issued for

    issuerUrl string

    URL of the provider which allows the API server to discover public signing keys

    groupsClaims string[]

    JWT claim to use as the user's group

    groupsPrefix string

    Prefix prepended to group claims

    requiredClaims string[]

    Multiple key=value pairs that describes a required claim in the ID Token

    usernameClaim string

    JWT claim to use as the user name

    usernamePrefix string

    Prefix prepended to username

    client_id str

    A client id that all tokens must be issued for

    issuer_url str

    URL of the provider which allows the API server to discover public signing keys

    groups_claims Sequence[str]

    JWT claim to use as the user's group

    groups_prefix str

    Prefix prepended to group claims

    required_claims Sequence[str]

    Multiple key=value pairs that describes a required claim in the ID Token

    username_claim str

    JWT claim to use as the user name

    username_prefix str

    Prefix prepended to username

    clientId String

    A client id that all tokens must be issued for

    issuerUrl String

    URL of the provider which allows the API server to discover public signing keys

    groupsClaims List<String>

    JWT claim to use as the user's group

    groupsPrefix String

    Prefix prepended to group claims

    requiredClaims List<String>

    Multiple key=value pairs that describes a required claim in the ID Token

    usernameClaim String

    JWT claim to use as the user name

    usernamePrefix String

    Prefix prepended to username

    Import

    Kubernetes clusters can be imported using the {region}/{id}, e.g. bash

     $ pulumi import scaleway:index/kubernetesCluster:KubernetesCluster mycluster fr-par/11111111-1111-1111-1111-111111111111
    

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs