1. Packages
  2. Scaleway
  3. API Docs
  4. kubernetes
  5. Pool
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.kubernetes.Pool

Explore with Pulumi AI

Import

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

bash

$ pulumi import scaleway:kubernetes/pool:Pool mypool fr-par/11111111-1111-1111-1111-111111111111
Copy

Create Pool Resource

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

Constructor syntax

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

@overload
def Pool(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         node_type: Optional[str] = None,
         size: Optional[int] = None,
         cluster_id: Optional[str] = None,
         kubelet_args: Optional[Mapping[str, str]] = None,
         public_ip_disabled: Optional[bool] = None,
         max_size: Optional[int] = None,
         min_size: Optional[int] = None,
         name: Optional[str] = None,
         container_runtime: Optional[str] = None,
         placement_group_id: Optional[str] = None,
         autohealing: Optional[bool] = None,
         region: Optional[str] = None,
         root_volume_size_in_gb: Optional[int] = None,
         root_volume_type: Optional[str] = None,
         autoscaling: Optional[bool] = None,
         tags: Optional[Sequence[str]] = None,
         upgrade_policy: Optional[PoolUpgradePolicyArgs] = None,
         wait_for_pool_ready: Optional[bool] = None,
         zone: Optional[str] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
public Pool(String name, PoolArgs args)
public Pool(String name, PoolArgs args, CustomResourceOptions options)
type: scaleway:kubernetes:Pool
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. PoolArgs
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. PoolArgs
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. PoolArgs
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. PoolArgs
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. PoolArgs
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 poolResource = new Scaleway.Kubernetes.Pool("poolResource", new()
{
    NodeType = "string",
    Size = 0,
    ClusterId = "string",
    KubeletArgs = 
    {
        { "string", "string" },
    },
    PublicIpDisabled = false,
    MaxSize = 0,
    MinSize = 0,
    Name = "string",
    ContainerRuntime = "string",
    PlacementGroupId = "string",
    Autohealing = false,
    Region = "string",
    RootVolumeSizeInGb = 0,
    RootVolumeType = "string",
    Autoscaling = false,
    Tags = new[]
    {
        "string",
    },
    UpgradePolicy = new Scaleway.Kubernetes.Inputs.PoolUpgradePolicyArgs
    {
        MaxSurge = 0,
        MaxUnavailable = 0,
    },
    WaitForPoolReady = false,
    Zone = "string",
});
Copy
example, err := kubernetes.NewPool(ctx, "poolResource", &kubernetes.PoolArgs{
	NodeType:  pulumi.String("string"),
	Size:      pulumi.Int(0),
	ClusterId: pulumi.String("string"),
	KubeletArgs: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	PublicIpDisabled:   pulumi.Bool(false),
	MaxSize:            pulumi.Int(0),
	MinSize:            pulumi.Int(0),
	Name:               pulumi.String("string"),
	ContainerRuntime:   pulumi.String("string"),
	PlacementGroupId:   pulumi.String("string"),
	Autohealing:        pulumi.Bool(false),
	Region:             pulumi.String("string"),
	RootVolumeSizeInGb: pulumi.Int(0),
	RootVolumeType:     pulumi.String("string"),
	Autoscaling:        pulumi.Bool(false),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	UpgradePolicy: &kubernetes.PoolUpgradePolicyArgs{
		MaxSurge:       pulumi.Int(0),
		MaxUnavailable: pulumi.Int(0),
	},
	WaitForPoolReady: pulumi.Bool(false),
	Zone:             pulumi.String("string"),
})
Copy
var poolResource = new Pool("poolResource", PoolArgs.builder()
    .nodeType("string")
    .size(0)
    .clusterId("string")
    .kubeletArgs(Map.of("string", "string"))
    .publicIpDisabled(false)
    .maxSize(0)
    .minSize(0)
    .name("string")
    .containerRuntime("string")
    .placementGroupId("string")
    .autohealing(false)
    .region("string")
    .rootVolumeSizeInGb(0)
    .rootVolumeType("string")
    .autoscaling(false)
    .tags("string")
    .upgradePolicy(PoolUpgradePolicyArgs.builder()
        .maxSurge(0)
        .maxUnavailable(0)
        .build())
    .waitForPoolReady(false)
    .zone("string")
    .build());
Copy
pool_resource = scaleway.kubernetes.Pool("poolResource",
    node_type="string",
    size=0,
    cluster_id="string",
    kubelet_args={
        "string": "string",
    },
    public_ip_disabled=False,
    max_size=0,
    min_size=0,
    name="string",
    container_runtime="string",
    placement_group_id="string",
    autohealing=False,
    region="string",
    root_volume_size_in_gb=0,
    root_volume_type="string",
    autoscaling=False,
    tags=["string"],
    upgrade_policy={
        "max_surge": 0,
        "max_unavailable": 0,
    },
    wait_for_pool_ready=False,
    zone="string")
Copy
const poolResource = new scaleway.kubernetes.Pool("poolResource", {
    nodeType: "string",
    size: 0,
    clusterId: "string",
    kubeletArgs: {
        string: "string",
    },
    publicIpDisabled: false,
    maxSize: 0,
    minSize: 0,
    name: "string",
    containerRuntime: "string",
    placementGroupId: "string",
    autohealing: false,
    region: "string",
    rootVolumeSizeInGb: 0,
    rootVolumeType: "string",
    autoscaling: false,
    tags: ["string"],
    upgradePolicy: {
        maxSurge: 0,
        maxUnavailable: 0,
    },
    waitForPoolReady: false,
    zone: "string",
});
Copy
type: scaleway:kubernetes:Pool
properties:
    autohealing: false
    autoscaling: false
    clusterId: string
    containerRuntime: string
    kubeletArgs:
        string: string
    maxSize: 0
    minSize: 0
    name: string
    nodeType: string
    placementGroupId: string
    publicIpDisabled: false
    region: string
    rootVolumeSizeInGb: 0
    rootVolumeType: string
    size: 0
    tags:
        - string
    upgradePolicy:
        maxSurge: 0
        maxUnavailable: 0
    waitForPoolReady: false
    zone: string
Copy

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

ClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Kubernetes cluster on which this pool will be created.
NodeType
This property is required.
Changes to this property will trigger replacement.
string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

Size This property is required. int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

Autohealing bool
Enables the autohealing feature for this pool.
Autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

ContainerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

KubeletArgs Dictionary<string, string>
The Kubelet arguments to be used by this pool
MaxSize int
The maximum size of the pool, used by the autoscaling feature.
MinSize int
The minimum size of the pool, used by the autoscaling feature.
Name Changes to this property will trigger replacement. string

The name for the pool.

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

PlacementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

PublicIpDisabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

Region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
RootVolumeSizeInGb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
RootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
Tags List<string>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

UpgradePolicy Pulumiverse.Scaleway.Kubernetes.Inputs.PoolUpgradePolicy
The Pool upgrade policy
WaitForPoolReady bool
Whether to wait for the pool to be ready.
Zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

ClusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Kubernetes cluster on which this pool will be created.
NodeType
This property is required.
Changes to this property will trigger replacement.
string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

Size This property is required. int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

Autohealing bool
Enables the autohealing feature for this pool.
Autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

ContainerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

KubeletArgs map[string]string
The Kubelet arguments to be used by this pool
MaxSize int
The maximum size of the pool, used by the autoscaling feature.
MinSize int
The minimum size of the pool, used by the autoscaling feature.
Name Changes to this property will trigger replacement. string

The name for the pool.

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

PlacementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

PublicIpDisabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

Region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
RootVolumeSizeInGb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
RootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
Tags []string

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

UpgradePolicy PoolUpgradePolicyArgs
The Pool upgrade policy
WaitForPoolReady bool
Whether to wait for the pool to be ready.
Zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

clusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Kubernetes cluster on which this pool will be created.
nodeType
This property is required.
Changes to this property will trigger replacement.
String

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

size This property is required. Integer

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

autohealing Boolean
Enables the autohealing feature for this pool.
autoscaling Boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

containerRuntime Changes to this property will trigger replacement. String

The container runtime of the pool.

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

kubeletArgs Map<String,String>
The Kubelet arguments to be used by this pool
maxSize Integer
The maximum size of the pool, used by the autoscaling feature.
minSize Integer
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. String

The name for the pool.

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

placementGroupId Changes to this property will trigger replacement. String

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. Boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. String
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. Integer
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. String
System volume type of the nodes composing the pool
tags List<String>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

upgradePolicy PoolUpgradePolicy
The Pool upgrade policy
waitForPoolReady Boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. String

zone) The zone in which the pool should be created.

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

clusterId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Kubernetes cluster on which this pool will be created.
nodeType
This property is required.
Changes to this property will trigger replacement.
string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

size This property is required. number

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

autohealing boolean
Enables the autohealing feature for this pool.
autoscaling boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

containerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

kubeletArgs {[key: string]: string}
The Kubelet arguments to be used by this pool
maxSize number
The maximum size of the pool, used by the autoscaling feature.
minSize number
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. string

The name for the pool.

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

placementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. number
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
tags string[]

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

upgradePolicy PoolUpgradePolicy
The Pool upgrade policy
waitForPoolReady boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

cluster_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Kubernetes cluster on which this pool will be created.
node_type
This property is required.
Changes to this property will trigger replacement.
str

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

size This property is required. int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

autohealing bool
Enables the autohealing feature for this pool.
autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

container_runtime Changes to this property will trigger replacement. str

The container runtime of the pool.

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

kubelet_args Mapping[str, str]
The Kubelet arguments to be used by this pool
max_size int
The maximum size of the pool, used by the autoscaling feature.
min_size int
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. str

The name for the pool.

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

placement_group_id Changes to this property will trigger replacement. str

The placement group the nodes of the pool will be attached to.

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

public_ip_disabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. str
region) The region in which the pool should be created.
root_volume_size_in_gb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
root_volume_type Changes to this property will trigger replacement. str
System volume type of the nodes composing the pool
tags Sequence[str]

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

upgrade_policy PoolUpgradePolicyArgs
The Pool upgrade policy
wait_for_pool_ready bool
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. str

zone) The zone in which the pool should be created.

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

clusterId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Kubernetes cluster on which this pool will be created.
nodeType
This property is required.
Changes to this property will trigger replacement.
String

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

size This property is required. Number

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

autohealing Boolean
Enables the autohealing feature for this pool.
autoscaling Boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

containerRuntime Changes to this property will trigger replacement. String

The container runtime of the pool.

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

kubeletArgs Map<String>
The Kubelet arguments to be used by this pool
maxSize Number
The maximum size of the pool, used by the autoscaling feature.
minSize Number
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. String

The name for the pool.

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

placementGroupId Changes to this property will trigger replacement. String

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. Boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. String
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. Number
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. String
System volume type of the nodes composing the pool
tags List<String>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

upgradePolicy Property Map
The Pool upgrade policy
waitForPoolReady Boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. String

zone) The zone in which the pool should be created.

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

Outputs

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

CreatedAt string
The creation date of the pool.
CurrentSize int
The actual size of the pool
Id string
The provider-assigned unique ID for this managed resource.
Nodes List<Pulumiverse.Scaleway.Kubernetes.Outputs.PoolNode>
(List of) The nodes in the default pool.
Status string
The status of the node.
UpdatedAt string
The last update date of the pool.
Version string
The version of the pool.
CreatedAt string
The creation date of the pool.
CurrentSize int
The actual size of the pool
Id string
The provider-assigned unique ID for this managed resource.
Nodes []PoolNode
(List of) The nodes in the default pool.
Status string
The status of the node.
UpdatedAt string
The last update date of the pool.
Version string
The version of the pool.
createdAt String
The creation date of the pool.
currentSize Integer
The actual size of the pool
id String
The provider-assigned unique ID for this managed resource.
nodes List<PoolNode>
(List of) The nodes in the default pool.
status String
The status of the node.
updatedAt String
The last update date of the pool.
version String
The version of the pool.
createdAt string
The creation date of the pool.
currentSize number
The actual size of the pool
id string
The provider-assigned unique ID for this managed resource.
nodes PoolNode[]
(List of) The nodes in the default pool.
status string
The status of the node.
updatedAt string
The last update date of the pool.
version string
The version of the pool.
created_at str
The creation date of the pool.
current_size int
The actual size of the pool
id str
The provider-assigned unique ID for this managed resource.
nodes Sequence[PoolNode]
(List of) The nodes in the default pool.
status str
The status of the node.
updated_at str
The last update date of the pool.
version str
The version of the pool.
createdAt String
The creation date of the pool.
currentSize Number
The actual size of the pool
id String
The provider-assigned unique ID for this managed resource.
nodes List<Property Map>
(List of) The nodes in the default pool.
status String
The status of the node.
updatedAt String
The last update date of the pool.
version String
The version of the pool.

Look up Existing Pool Resource

Get an existing Pool 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?: PoolState, opts?: CustomResourceOptions): Pool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        autohealing: Optional[bool] = None,
        autoscaling: Optional[bool] = None,
        cluster_id: Optional[str] = None,
        container_runtime: Optional[str] = None,
        created_at: Optional[str] = None,
        current_size: Optional[int] = None,
        kubelet_args: Optional[Mapping[str, str]] = None,
        max_size: Optional[int] = None,
        min_size: Optional[int] = None,
        name: Optional[str] = None,
        node_type: Optional[str] = None,
        nodes: Optional[Sequence[PoolNodeArgs]] = None,
        placement_group_id: Optional[str] = None,
        public_ip_disabled: Optional[bool] = None,
        region: Optional[str] = None,
        root_volume_size_in_gb: Optional[int] = None,
        root_volume_type: Optional[str] = None,
        size: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[str] = None,
        upgrade_policy: Optional[PoolUpgradePolicyArgs] = None,
        version: Optional[str] = None,
        wait_for_pool_ready: Optional[bool] = None,
        zone: Optional[str] = None) -> Pool
func GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)
public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)
public static Pool get(String name, Output<String> id, PoolState state, CustomResourceOptions options)
resources:  _:    type: scaleway:kubernetes:Pool    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:
Autohealing bool
Enables the autohealing feature for this pool.
Autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

ClusterId Changes to this property will trigger replacement. string
The ID of the Kubernetes cluster on which this pool will be created.
ContainerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

CreatedAt string
The creation date of the pool.
CurrentSize int
The actual size of the pool
KubeletArgs Dictionary<string, string>
The Kubelet arguments to be used by this pool
MaxSize int
The maximum size of the pool, used by the autoscaling feature.
MinSize int
The minimum size of the pool, used by the autoscaling feature.
Name Changes to this property will trigger replacement. string

The name for the pool.

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

NodeType Changes to this property will trigger replacement. string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

Nodes List<Pulumiverse.Scaleway.Kubernetes.Inputs.PoolNode>
(List of) The nodes in the default pool.
PlacementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

PublicIpDisabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

Region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
RootVolumeSizeInGb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
RootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
Size int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

Status string
The status of the node.
Tags List<string>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

UpdatedAt string
The last update date of the pool.
UpgradePolicy Pulumiverse.Scaleway.Kubernetes.Inputs.PoolUpgradePolicy
The Pool upgrade policy
Version string
The version of the pool.
WaitForPoolReady bool
Whether to wait for the pool to be ready.
Zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

Autohealing bool
Enables the autohealing feature for this pool.
Autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

ClusterId Changes to this property will trigger replacement. string
The ID of the Kubernetes cluster on which this pool will be created.
ContainerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

CreatedAt string
The creation date of the pool.
CurrentSize int
The actual size of the pool
KubeletArgs map[string]string
The Kubelet arguments to be used by this pool
MaxSize int
The maximum size of the pool, used by the autoscaling feature.
MinSize int
The minimum size of the pool, used by the autoscaling feature.
Name Changes to this property will trigger replacement. string

The name for the pool.

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

NodeType Changes to this property will trigger replacement. string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

Nodes []PoolNodeArgs
(List of) The nodes in the default pool.
PlacementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

PublicIpDisabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

Region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
RootVolumeSizeInGb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
RootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
Size int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

Status string
The status of the node.
Tags []string

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

UpdatedAt string
The last update date of the pool.
UpgradePolicy PoolUpgradePolicyArgs
The Pool upgrade policy
Version string
The version of the pool.
WaitForPoolReady bool
Whether to wait for the pool to be ready.
Zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

autohealing Boolean
Enables the autohealing feature for this pool.
autoscaling Boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

clusterId Changes to this property will trigger replacement. String
The ID of the Kubernetes cluster on which this pool will be created.
containerRuntime Changes to this property will trigger replacement. String

The container runtime of the pool.

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

createdAt String
The creation date of the pool.
currentSize Integer
The actual size of the pool
kubeletArgs Map<String,String>
The Kubelet arguments to be used by this pool
maxSize Integer
The maximum size of the pool, used by the autoscaling feature.
minSize Integer
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. String

The name for the pool.

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

nodeType Changes to this property will trigger replacement. String

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

nodes List<PoolNode>
(List of) The nodes in the default pool.
placementGroupId Changes to this property will trigger replacement. String

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. Boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. String
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. Integer
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. String
System volume type of the nodes composing the pool
size Integer

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

status String
The status of the node.
tags List<String>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

updatedAt String
The last update date of the pool.
upgradePolicy PoolUpgradePolicy
The Pool upgrade policy
version String
The version of the pool.
waitForPoolReady Boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. String

zone) The zone in which the pool should be created.

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

autohealing boolean
Enables the autohealing feature for this pool.
autoscaling boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

clusterId Changes to this property will trigger replacement. string
The ID of the Kubernetes cluster on which this pool will be created.
containerRuntime Changes to this property will trigger replacement. string

The container runtime of the pool.

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

createdAt string
The creation date of the pool.
currentSize number
The actual size of the pool
kubeletArgs {[key: string]: string}
The Kubelet arguments to be used by this pool
maxSize number
The maximum size of the pool, used by the autoscaling feature.
minSize number
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. string

The name for the pool.

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

nodeType Changes to this property will trigger replacement. string

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

nodes PoolNode[]
(List of) The nodes in the default pool.
placementGroupId Changes to this property will trigger replacement. string

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. string
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. number
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. string
System volume type of the nodes composing the pool
size number

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

status string
The status of the node.
tags string[]

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

updatedAt string
The last update date of the pool.
upgradePolicy PoolUpgradePolicy
The Pool upgrade policy
version string
The version of the pool.
waitForPoolReady boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. string

zone) The zone in which the pool should be created.

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

autohealing bool
Enables the autohealing feature for this pool.
autoscaling bool

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

cluster_id Changes to this property will trigger replacement. str
The ID of the Kubernetes cluster on which this pool will be created.
container_runtime Changes to this property will trigger replacement. str

The container runtime of the pool.

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

created_at str
The creation date of the pool.
current_size int
The actual size of the pool
kubelet_args Mapping[str, str]
The Kubelet arguments to be used by this pool
max_size int
The maximum size of the pool, used by the autoscaling feature.
min_size int
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. str

The name for the pool.

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

node_type Changes to this property will trigger replacement. str

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

nodes Sequence[PoolNodeArgs]
(List of) The nodes in the default pool.
placement_group_id Changes to this property will trigger replacement. str

The placement group the nodes of the pool will be attached to.

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

public_ip_disabled Changes to this property will trigger replacement. bool

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. str
region) The region in which the pool should be created.
root_volume_size_in_gb Changes to this property will trigger replacement. int
The size of the system volume of the nodes in gigabyte
root_volume_type Changes to this property will trigger replacement. str
System volume type of the nodes composing the pool
size int

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

status str
The status of the node.
tags Sequence[str]

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

updated_at str
The last update date of the pool.
upgrade_policy PoolUpgradePolicyArgs
The Pool upgrade policy
version str
The version of the pool.
wait_for_pool_ready bool
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. str

zone) The zone in which the pool should be created.

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

autohealing Boolean
Enables the autohealing feature for this pool.
autoscaling Boolean

Enables the autoscaling feature for this pool.

Important: When enabled, an update of the size will not be taken into account.

clusterId Changes to this property will trigger replacement. String
The ID of the Kubernetes cluster on which this pool will be created.
containerRuntime Changes to this property will trigger replacement. String

The container runtime of the pool.

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

createdAt String
The creation date of the pool.
currentSize Number
The actual size of the pool
kubeletArgs Map<String>
The Kubelet arguments to be used by this pool
maxSize Number
The maximum size of the pool, used by the autoscaling feature.
minSize Number
The minimum size of the pool, used by the autoscaling feature.
name Changes to this property will trigger replacement. String

The name for the pool.

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

nodeType Changes to this property will trigger replacement. String

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). external is a special node type used to provision from other Cloud providers.

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

nodes List<Property Map>
(List of) The nodes in the default pool.
placementGroupId Changes to this property will trigger replacement. String

The placement group the nodes of the pool will be attached to.

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

publicIpDisabled Changes to this property will trigger replacement. Boolean

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.

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

region Changes to this property will trigger replacement. String
region) The region in which the pool should be created.
rootVolumeSizeInGb Changes to this property will trigger replacement. Number
The size of the system volume of the nodes in gigabyte
rootVolumeType Changes to this property will trigger replacement. String
System volume type of the nodes composing the pool
size Number

The size of the pool.

Important: This field will only be used at creation if autoscaling is enabled.

status String
The status of the node.
tags List<String>

The tags associated with the pool.

Note: As mentionned in this document, taints of a pool's nodes are applied using tags. (e.g.: "taint=taintName=taintValue:Effect")

updatedAt String
The last update date of the pool.
upgradePolicy Property Map
The Pool upgrade policy
version String
The version of the pool.
waitForPoolReady Boolean
Whether to wait for the pool to be ready.
zone Changes to this property will trigger replacement. String

zone) The zone in which the pool should be created.

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

Supporting Types

PoolNode
, PoolNodeArgs

Name string

The name for the pool.

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

PublicIp string
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

PublicIpV6 string
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

Status string
The status of the node.
Name string

The name for the pool.

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

PublicIp string
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

PublicIpV6 string
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

Status string
The status of the node.
name String

The name for the pool.

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

publicIp String
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

publicIpV6 String
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

status String
The status of the node.
name string

The name for the pool.

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

publicIp string
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

publicIpV6 string
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

status string
The status of the node.
name str

The name for the pool.

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

public_ip str
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

public_ip_v6 str
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

status str
The status of the node.
name String

The name for the pool.

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

publicIp String
The public IPv4. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

publicIpV6 String
The public IPv6. (Deprecated, Please use the official Kubernetes provider and the kubernetes_nodes data source)

Deprecated: Please use the official Kubernetes provider and the kubernetes_nodes data source

status String
The status of the node.

PoolUpgradePolicy
, PoolUpgradePolicyArgs

MaxSurge int
The maximum number of nodes to be created during the upgrade
MaxUnavailable int
The maximum number of nodes that can be not ready at the same time
MaxSurge int
The maximum number of nodes to be created during the upgrade
MaxUnavailable int
The maximum number of nodes that can be not ready at the same time
maxSurge Integer
The maximum number of nodes to be created during the upgrade
maxUnavailable Integer
The maximum number of nodes that can be not ready at the same time
maxSurge number
The maximum number of nodes to be created during the upgrade
maxUnavailable number
The maximum number of nodes that can be not ready at the same time
max_surge int
The maximum number of nodes to be created during the upgrade
max_unavailable int
The maximum number of nodes that can be not ready at the same time
maxSurge Number
The maximum number of nodes to be created during the upgrade
maxUnavailable Number
The maximum number of nodes that can be not ready at the same time

Package Details

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