1. Packages
  2. Exoscale
  3. API Docs
  4. SksNodepool
Exoscale v0.62.7 published on Tuesday, Dec 10, 2024 by Pulumiverse

exoscale.SksNodepool

Explore with Pulumi AI

Manage Exoscale Scalable Kubernetes Service (SKS) Node Pools.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as exoscale from "@pulumiverse/exoscale";

const mySksCluster = new exoscale.SksCluster("mySksCluster", {zone: "ch-gva-2"});
const mySksNodepool = new exoscale.SksNodepool("mySksNodepool", {
    clusterId: mySksCluster.id,
    zone: mySksCluster.zone,
    instanceType: "standard.medium",
    size: 3,
});
Copy
import pulumi
import pulumiverse_exoscale as exoscale

my_sks_cluster = exoscale.SksCluster("mySksCluster", zone="ch-gva-2")
my_sks_nodepool = exoscale.SksNodepool("mySksNodepool",
    cluster_id=my_sks_cluster.id,
    zone=my_sks_cluster.zone,
    instance_type="standard.medium",
    size=3)
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-exoscale/sdk/go/exoscale"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mySksCluster, err := exoscale.NewSksCluster(ctx, "mySksCluster", &exoscale.SksClusterArgs{
			Zone: pulumi.String("ch-gva-2"),
		})
		if err != nil {
			return err
		}
		_, err = exoscale.NewSksNodepool(ctx, "mySksNodepool", &exoscale.SksNodepoolArgs{
			ClusterId:    mySksCluster.ID(),
			Zone:         mySksCluster.Zone,
			InstanceType: pulumi.String("standard.medium"),
			Size:         pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Exoscale = Pulumiverse.Exoscale;

return await Deployment.RunAsync(() => 
{
    var mySksCluster = new Exoscale.SksCluster("mySksCluster", new()
    {
        Zone = "ch-gva-2",
    });

    var mySksNodepool = new Exoscale.SksNodepool("mySksNodepool", new()
    {
        ClusterId = mySksCluster.Id,
        Zone = mySksCluster.Zone,
        InstanceType = "standard.medium",
        Size = 3,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.exoscale.SksCluster;
import com.pulumi.exoscale.SksClusterArgs;
import com.pulumi.exoscale.SksNodepool;
import com.pulumi.exoscale.SksNodepoolArgs;
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 mySksCluster = new SksCluster("mySksCluster", SksClusterArgs.builder()
            .zone("ch-gva-2")
            .build());

        var mySksNodepool = new SksNodepool("mySksNodepool", SksNodepoolArgs.builder()
            .clusterId(mySksCluster.id())
            .zone(mySksCluster.zone())
            .instanceType("standard.medium")
            .size(3)
            .build());

    }
}
Copy
resources:
  mySksCluster:
    type: exoscale:SksCluster
    properties:
      zone: ch-gva-2
  mySksNodepool:
    type: exoscale:SksNodepool
    properties:
      clusterId: ${mySksCluster.id}
      zone: ${mySksCluster.zone}
      instanceType: standard.medium
      size: 3
Copy

Please refer to the examples directory for complete configuration examples.

Create SksNodepool Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SksNodepool(name: string, args: SksNodepoolArgs, opts?: CustomResourceOptions);
@overload
def SksNodepool(resource_name: str,
                args: SksNodepoolArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def SksNodepool(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                instance_type: Optional[str] = None,
                cluster_id: Optional[str] = None,
                zone: Optional[str] = None,
                size: Optional[int] = None,
                disk_size: Optional[int] = None,
                instance_prefix: Optional[str] = None,
                anti_affinity_group_ids: Optional[Sequence[str]] = None,
                kubelet_image_gcs: Optional[Sequence[SksNodepoolKubeletImageGcArgs]] = None,
                labels: Optional[Mapping[str, str]] = None,
                name: Optional[str] = None,
                private_network_ids: Optional[Sequence[str]] = None,
                security_group_ids: Optional[Sequence[str]] = None,
                description: Optional[str] = None,
                storage_lvm: Optional[bool] = None,
                taints: Optional[Mapping[str, str]] = None,
                deploy_target_id: Optional[str] = None)
func NewSksNodepool(ctx *Context, name string, args SksNodepoolArgs, opts ...ResourceOption) (*SksNodepool, error)
public SksNodepool(string name, SksNodepoolArgs args, CustomResourceOptions? opts = null)
public SksNodepool(String name, SksNodepoolArgs args)
public SksNodepool(String name, SksNodepoolArgs args, CustomResourceOptions options)
type: exoscale:SksNodepool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SksNodepoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SksNodepoolArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SksNodepoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SksNodepoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SksNodepoolArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sksNodepoolResource = new Exoscale.SksNodepool("sksNodepoolResource", new()
{
    InstanceType = "string",
    ClusterId = "string",
    Zone = "string",
    Size = 0,
    DiskSize = 0,
    InstancePrefix = "string",
    AntiAffinityGroupIds = new[]
    {
        "string",
    },
    KubeletImageGcs = new[]
    {
        new Exoscale.Inputs.SksNodepoolKubeletImageGcArgs
        {
            HighThreshold = 0,
            LowThreshold = 0,
            MinAge = "string",
        },
    },
    Labels = 
    {
        { "string", "string" },
    },
    Name = "string",
    PrivateNetworkIds = new[]
    {
        "string",
    },
    SecurityGroupIds = new[]
    {
        "string",
    },
    Description = "string",
    StorageLvm = false,
    Taints = 
    {
        { "string", "string" },
    },
    DeployTargetId = "string",
});
Copy
example, err := exoscale.NewSksNodepool(ctx, "sksNodepoolResource", &exoscale.SksNodepoolArgs{
	InstanceType:   pulumi.String("string"),
	ClusterId:      pulumi.String("string"),
	Zone:           pulumi.String("string"),
	Size:           pulumi.Int(0),
	DiskSize:       pulumi.Int(0),
	InstancePrefix: pulumi.String("string"),
	AntiAffinityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	KubeletImageGcs: exoscale.SksNodepoolKubeletImageGcArray{
		&exoscale.SksNodepoolKubeletImageGcArgs{
			HighThreshold: pulumi.Int(0),
			LowThreshold:  pulumi.Int(0),
			MinAge:        pulumi.String("string"),
		},
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	PrivateNetworkIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	SecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	StorageLvm:  pulumi.Bool(false),
	Taints: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DeployTargetId: pulumi.String("string"),
})
Copy
var sksNodepoolResource = new SksNodepool("sksNodepoolResource", SksNodepoolArgs.builder()
    .instanceType("string")
    .clusterId("string")
    .zone("string")
    .size(0)
    .diskSize(0)
    .instancePrefix("string")
    .antiAffinityGroupIds("string")
    .kubeletImageGcs(SksNodepoolKubeletImageGcArgs.builder()
        .highThreshold(0)
        .lowThreshold(0)
        .minAge("string")
        .build())
    .labels(Map.of("string", "string"))
    .name("string")
    .privateNetworkIds("string")
    .securityGroupIds("string")
    .description("string")
    .storageLvm(false)
    .taints(Map.of("string", "string"))
    .deployTargetId("string")
    .build());
Copy
sks_nodepool_resource = exoscale.SksNodepool("sksNodepoolResource",
    instance_type="string",
    cluster_id="string",
    zone="string",
    size=0,
    disk_size=0,
    instance_prefix="string",
    anti_affinity_group_ids=["string"],
    kubelet_image_gcs=[{
        "high_threshold": 0,
        "low_threshold": 0,
        "min_age": "string",
    }],
    labels={
        "string": "string",
    },
    name="string",
    private_network_ids=["string"],
    security_group_ids=["string"],
    description="string",
    storage_lvm=False,
    taints={
        "string": "string",
    },
    deploy_target_id="string")
Copy
const sksNodepoolResource = new exoscale.SksNodepool("sksNodepoolResource", {
    instanceType: "string",
    clusterId: "string",
    zone: "string",
    size: 0,
    diskSize: 0,
    instancePrefix: "string",
    antiAffinityGroupIds: ["string"],
    kubeletImageGcs: [{
        highThreshold: 0,
        lowThreshold: 0,
        minAge: "string",
    }],
    labels: {
        string: "string",
    },
    name: "string",
    privateNetworkIds: ["string"],
    securityGroupIds: ["string"],
    description: "string",
    storageLvm: false,
    taints: {
        string: "string",
    },
    deployTargetId: "string",
});
Copy
type: exoscale:SksNodepool
properties:
    antiAffinityGroupIds:
        - string
    clusterId: string
    deployTargetId: string
    description: string
    diskSize: 0
    instancePrefix: string
    instanceType: string
    kubeletImageGcs:
        - highThreshold: 0
          lowThreshold: 0
          minAge: string
    labels:
        string: string
    name: string
    privateNetworkIds:
        - string
    securityGroupIds:
        - string
    size: 0
    storageLvm: false
    taints:
        string: string
    zone: string
Copy

SksNodepool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SksNodepool resource accepts the following input properties:

ClusterId
This property is required.
Changes to this property will trigger replacement.
string
❗ The parent exoscaleskscluster ID.
InstanceType This property is required. string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
Size This property is required. int
Zone
This property is required.
Changes to this property will trigger replacement.
string
❗ The Exoscale Zone name.
AntiAffinityGroupIds List<string>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
DeployTargetId string
A deploy target ID.
Description string
A free-form text describing the pool.
DiskSize int
The managed instances disk size (GiB; default: 50).
InstancePrefix string
The string used to prefix the managed instances name (default pool).
KubeletImageGcs List<Pulumiverse.Exoscale.Inputs.SksNodepoolKubeletImageGc>
Configuration for this nodepool's kubelet image garbage collector
Labels Dictionary<string, string>
A map of key/value labels.
Name string
The SKS node pool name.
PrivateNetworkIds List<string>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
SecurityGroupIds List<string>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
StorageLvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
Taints Dictionary<string, string>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
ClusterId
This property is required.
Changes to this property will trigger replacement.
string
❗ The parent exoscaleskscluster ID.
InstanceType This property is required. string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
Size This property is required. int
Zone
This property is required.
Changes to this property will trigger replacement.
string
❗ The Exoscale Zone name.
AntiAffinityGroupIds []string
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
DeployTargetId string
A deploy target ID.
Description string
A free-form text describing the pool.
DiskSize int
The managed instances disk size (GiB; default: 50).
InstancePrefix string
The string used to prefix the managed instances name (default pool).
KubeletImageGcs []SksNodepoolKubeletImageGcArgs
Configuration for this nodepool's kubelet image garbage collector
Labels map[string]string
A map of key/value labels.
Name string
The SKS node pool name.
PrivateNetworkIds []string
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
SecurityGroupIds []string
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
StorageLvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
Taints map[string]string
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
clusterId
This property is required.
Changes to this property will trigger replacement.
String
❗ The parent exoscaleskscluster ID.
instanceType This property is required. String
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
size This property is required. Integer
zone
This property is required.
Changes to this property will trigger replacement.
String
❗ The Exoscale Zone name.
antiAffinityGroupIds List<String>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
deployTargetId String
A deploy target ID.
description String
A free-form text describing the pool.
diskSize Integer
The managed instances disk size (GiB; default: 50).
instancePrefix String
The string used to prefix the managed instances name (default pool).
kubeletImageGcs List<SksNodepoolKubeletImageGc>
Configuration for this nodepool's kubelet image garbage collector
labels Map<String,String>
A map of key/value labels.
name String
The SKS node pool name.
privateNetworkIds List<String>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds List<String>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
storageLvm Boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Map<String,String>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
clusterId
This property is required.
Changes to this property will trigger replacement.
string
❗ The parent exoscaleskscluster ID.
instanceType This property is required. string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
size This property is required. number
zone
This property is required.
Changes to this property will trigger replacement.
string
❗ The Exoscale Zone name.
antiAffinityGroupIds string[]
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
deployTargetId string
A deploy target ID.
description string
A free-form text describing the pool.
diskSize number
The managed instances disk size (GiB; default: 50).
instancePrefix string
The string used to prefix the managed instances name (default pool).
kubeletImageGcs SksNodepoolKubeletImageGc[]
Configuration for this nodepool's kubelet image garbage collector
labels {[key: string]: string}
A map of key/value labels.
name string
The SKS node pool name.
privateNetworkIds string[]
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds string[]
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
storageLvm boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints {[key: string]: string}
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
cluster_id
This property is required.
Changes to this property will trigger replacement.
str
❗ The parent exoscaleskscluster ID.
instance_type This property is required. str
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
size This property is required. int
zone
This property is required.
Changes to this property will trigger replacement.
str
❗ The Exoscale Zone name.
anti_affinity_group_ids Sequence[str]
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
deploy_target_id str
A deploy target ID.
description str
A free-form text describing the pool.
disk_size int
The managed instances disk size (GiB; default: 50).
instance_prefix str
The string used to prefix the managed instances name (default pool).
kubelet_image_gcs Sequence[SksNodepoolKubeletImageGcArgs]
Configuration for this nodepool's kubelet image garbage collector
labels Mapping[str, str]
A map of key/value labels.
name str
The SKS node pool name.
private_network_ids Sequence[str]
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
security_group_ids Sequence[str]
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
storage_lvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Mapping[str, str]
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
clusterId
This property is required.
Changes to this property will trigger replacement.
String
❗ The parent exoscaleskscluster ID.
instanceType This property is required. String
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
size This property is required. Number
zone
This property is required.
Changes to this property will trigger replacement.
String
❗ The Exoscale Zone name.
antiAffinityGroupIds List<String>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
deployTargetId String
A deploy target ID.
description String
A free-form text describing the pool.
diskSize Number
The managed instances disk size (GiB; default: 50).
instancePrefix String
The string used to prefix the managed instances name (default pool).
kubeletImageGcs List<Property Map>
Configuration for this nodepool's kubelet image garbage collector
labels Map<String>
A map of key/value labels.
name String
The SKS node pool name.
privateNetworkIds List<String>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds List<String>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
storageLvm Boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Map<String>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').

Outputs

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

CreatedAt string
The pool creation date.
Id string
The provider-assigned unique ID for this managed resource.
InstancePoolId string
The underlying exoscaleinstancepool ID.
State string
The current pool state.
TemplateId string
The managed instances template ID.
Version string
The managed instances version.
CreatedAt string
The pool creation date.
Id string
The provider-assigned unique ID for this managed resource.
InstancePoolId string
The underlying exoscaleinstancepool ID.
State string
The current pool state.
TemplateId string
The managed instances template ID.
Version string
The managed instances version.
createdAt String
The pool creation date.
id String
The provider-assigned unique ID for this managed resource.
instancePoolId String
The underlying exoscaleinstancepool ID.
state String
The current pool state.
templateId String
The managed instances template ID.
version String
The managed instances version.
createdAt string
The pool creation date.
id string
The provider-assigned unique ID for this managed resource.
instancePoolId string
The underlying exoscaleinstancepool ID.
state string
The current pool state.
templateId string
The managed instances template ID.
version string
The managed instances version.
created_at str
The pool creation date.
id str
The provider-assigned unique ID for this managed resource.
instance_pool_id str
The underlying exoscaleinstancepool ID.
state str
The current pool state.
template_id str
The managed instances template ID.
version str
The managed instances version.
createdAt String
The pool creation date.
id String
The provider-assigned unique ID for this managed resource.
instancePoolId String
The underlying exoscaleinstancepool ID.
state String
The current pool state.
templateId String
The managed instances template ID.
version String
The managed instances version.

Look up Existing SksNodepool Resource

Get an existing SksNodepool 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?: SksNodepoolState, opts?: CustomResourceOptions): SksNodepool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anti_affinity_group_ids: Optional[Sequence[str]] = None,
        cluster_id: Optional[str] = None,
        created_at: Optional[str] = None,
        deploy_target_id: Optional[str] = None,
        description: Optional[str] = None,
        disk_size: Optional[int] = None,
        instance_pool_id: Optional[str] = None,
        instance_prefix: Optional[str] = None,
        instance_type: Optional[str] = None,
        kubelet_image_gcs: Optional[Sequence[SksNodepoolKubeletImageGcArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        private_network_ids: Optional[Sequence[str]] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        size: Optional[int] = None,
        state: Optional[str] = None,
        storage_lvm: Optional[bool] = None,
        taints: Optional[Mapping[str, str]] = None,
        template_id: Optional[str] = None,
        version: Optional[str] = None,
        zone: Optional[str] = None) -> SksNodepool
func GetSksNodepool(ctx *Context, name string, id IDInput, state *SksNodepoolState, opts ...ResourceOption) (*SksNodepool, error)
public static SksNodepool Get(string name, Input<string> id, SksNodepoolState? state, CustomResourceOptions? opts = null)
public static SksNodepool get(String name, Output<String> id, SksNodepoolState state, CustomResourceOptions options)
resources:  _:    type: exoscale:SksNodepool    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AntiAffinityGroupIds List<string>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
ClusterId Changes to this property will trigger replacement. string
❗ The parent exoscaleskscluster ID.
CreatedAt string
The pool creation date.
DeployTargetId string
A deploy target ID.
Description string
A free-form text describing the pool.
DiskSize int
The managed instances disk size (GiB; default: 50).
InstancePoolId string
The underlying exoscaleinstancepool ID.
InstancePrefix string
The string used to prefix the managed instances name (default pool).
InstanceType string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
KubeletImageGcs List<Pulumiverse.Exoscale.Inputs.SksNodepoolKubeletImageGc>
Configuration for this nodepool's kubelet image garbage collector
Labels Dictionary<string, string>
A map of key/value labels.
Name string
The SKS node pool name.
PrivateNetworkIds List<string>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
SecurityGroupIds List<string>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
Size int
State string
The current pool state.
StorageLvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
Taints Dictionary<string, string>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
TemplateId string
The managed instances template ID.
Version string
The managed instances version.
Zone Changes to this property will trigger replacement. string
❗ The Exoscale Zone name.
AntiAffinityGroupIds []string
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
ClusterId Changes to this property will trigger replacement. string
❗ The parent exoscaleskscluster ID.
CreatedAt string
The pool creation date.
DeployTargetId string
A deploy target ID.
Description string
A free-form text describing the pool.
DiskSize int
The managed instances disk size (GiB; default: 50).
InstancePoolId string
The underlying exoscaleinstancepool ID.
InstancePrefix string
The string used to prefix the managed instances name (default pool).
InstanceType string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
KubeletImageGcs []SksNodepoolKubeletImageGcArgs
Configuration for this nodepool's kubelet image garbage collector
Labels map[string]string
A map of key/value labels.
Name string
The SKS node pool name.
PrivateNetworkIds []string
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
SecurityGroupIds []string
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
Size int
State string
The current pool state.
StorageLvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
Taints map[string]string
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
TemplateId string
The managed instances template ID.
Version string
The managed instances version.
Zone Changes to this property will trigger replacement. string
❗ The Exoscale Zone name.
antiAffinityGroupIds List<String>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
clusterId Changes to this property will trigger replacement. String
❗ The parent exoscaleskscluster ID.
createdAt String
The pool creation date.
deployTargetId String
A deploy target ID.
description String
A free-form text describing the pool.
diskSize Integer
The managed instances disk size (GiB; default: 50).
instancePoolId String
The underlying exoscaleinstancepool ID.
instancePrefix String
The string used to prefix the managed instances name (default pool).
instanceType String
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
kubeletImageGcs List<SksNodepoolKubeletImageGc>
Configuration for this nodepool's kubelet image garbage collector
labels Map<String,String>
A map of key/value labels.
name String
The SKS node pool name.
privateNetworkIds List<String>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds List<String>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
size Integer
state String
The current pool state.
storageLvm Boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Map<String,String>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
templateId String
The managed instances template ID.
version String
The managed instances version.
zone Changes to this property will trigger replacement. String
❗ The Exoscale Zone name.
antiAffinityGroupIds string[]
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
clusterId Changes to this property will trigger replacement. string
❗ The parent exoscaleskscluster ID.
createdAt string
The pool creation date.
deployTargetId string
A deploy target ID.
description string
A free-form text describing the pool.
diskSize number
The managed instances disk size (GiB; default: 50).
instancePoolId string
The underlying exoscaleinstancepool ID.
instancePrefix string
The string used to prefix the managed instances name (default pool).
instanceType string
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
kubeletImageGcs SksNodepoolKubeletImageGc[]
Configuration for this nodepool's kubelet image garbage collector
labels {[key: string]: string}
A map of key/value labels.
name string
The SKS node pool name.
privateNetworkIds string[]
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds string[]
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
size number
state string
The current pool state.
storageLvm boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints {[key: string]: string}
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
templateId string
The managed instances template ID.
version string
The managed instances version.
zone Changes to this property will trigger replacement. string
❗ The Exoscale Zone name.
anti_affinity_group_ids Sequence[str]
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
cluster_id Changes to this property will trigger replacement. str
❗ The parent exoscaleskscluster ID.
created_at str
The pool creation date.
deploy_target_id str
A deploy target ID.
description str
A free-form text describing the pool.
disk_size int
The managed instances disk size (GiB; default: 50).
instance_pool_id str
The underlying exoscaleinstancepool ID.
instance_prefix str
The string used to prefix the managed instances name (default pool).
instance_type str
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
kubelet_image_gcs Sequence[SksNodepoolKubeletImageGcArgs]
Configuration for this nodepool's kubelet image garbage collector
labels Mapping[str, str]
A map of key/value labels.
name str
The SKS node pool name.
private_network_ids Sequence[str]
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
security_group_ids Sequence[str]
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
size int
state str
The current pool state.
storage_lvm bool
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Mapping[str, str]
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
template_id str
The managed instances template ID.
version str
The managed instances version.
zone Changes to this property will trigger replacement. str
❗ The Exoscale Zone name.
antiAffinityGroupIds List<String>
A list of exoscaleantiaffinity_group (IDs) to be attached to the managed instances.
clusterId Changes to this property will trigger replacement. String
❗ The parent exoscaleskscluster ID.
createdAt String
The pool creation date.
deployTargetId String
A deploy target ID.
description String
A free-form text describing the pool.
diskSize Number
The managed instances disk size (GiB; default: 50).
instancePoolId String
The underlying exoscaleinstancepool ID.
instancePrefix String
The string used to prefix the managed instances name (default pool).
instanceType String
The managed compute instances type (<family>.<size>, e.g. standard.medium; use the Exoscale CLI - exo compute instance-type list - for the list of available types).
kubeletImageGcs List<Property Map>
Configuration for this nodepool's kubelet image garbage collector
labels Map<String>
A map of key/value labels.
name String
The SKS node pool name.
privateNetworkIds List<String>
A list of exoscaleprivatenetwork (IDs) to be attached to the managed instances.
securityGroupIds List<String>
A list of exoscalesecuritygroup (IDs) to be attached to the managed instances.
size Number
state String
The current pool state.
storageLvm Boolean
Create nodes with non-standard partitioning for persistent storage (requires min 100G of disk space) (may only be set at creation time).
taints Map<String>
A map of key/value Kubernetes taints ('taints = { \n\n = "\n\n:\n\n" }').
templateId String
The managed instances template ID.
version String
The managed instances version.
zone Changes to this property will trigger replacement. String
❗ The Exoscale Zone name.

Supporting Types

SksNodepoolKubeletImageGc
, SksNodepoolKubeletImageGcArgs

HighThreshold int
The percent of disk usage after which image garbage collection is always run
LowThreshold int
The percent of disk usage before which image garbage collection is never run
MinAge string
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)
HighThreshold int
The percent of disk usage after which image garbage collection is always run
LowThreshold int
The percent of disk usage before which image garbage collection is never run
MinAge string
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)
highThreshold Integer
The percent of disk usage after which image garbage collection is always run
lowThreshold Integer
The percent of disk usage before which image garbage collection is never run
minAge String
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)
highThreshold number
The percent of disk usage after which image garbage collection is always run
lowThreshold number
The percent of disk usage before which image garbage collection is never run
minAge string
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)
high_threshold int
The percent of disk usage after which image garbage collection is always run
low_threshold int
The percent of disk usage before which image garbage collection is never run
min_age str
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)
highThreshold Number
The percent of disk usage after which image garbage collection is always run
lowThreshold Number
The percent of disk usage before which image garbage collection is never run
minAge String
The minimum age for an unused image before it is garbage collected (k8s duration format, eg. 1h)

Import

An existing SKS node pool may be imported by <cluster-ID>/<nodepool-ID>@<zone>:

$ pulumi import exoscale:index/sksNodepool:SksNodepool \
Copy

exoscale_sks_nodepool.my_sks_nodepool \

f81d4fae-7dec-11d0-a765-00a0c91e6bf6/9ecc6b8b-73d4-4211-8ced-f7f29bb79524@ch-gva-2

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
exoscale pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes
This Pulumi package is based on the exoscale Terraform Provider.