Scaleway v1.41.0 published on Saturday, Jan 10, 2026 by pulumiverse
Scaleway v1.41.0 published on Saturday, Jan 10, 2026 by pulumiverse
The scaleway.kubernetes.Pool data source is used to retrieve information about a Kubernetes Cluster’s Pool.
Refer to the Kubernetes documentation and API documentation for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get info by pool id
const myKey = scaleway.kubernetes.getPool({
poolId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Get info by pool id
my_key = scaleway.kubernetes.get_pool(pool_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/kubernetes"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get info by pool id
_, err := kubernetes.LookupPool(ctx, &kubernetes.LookupPoolArgs{
PoolId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get info by pool id
var myKey = Scaleway.Kubernetes.GetPool.Invoke(new()
{
PoolId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.kubernetes.KubernetesFunctions;
import com.pulumi.scaleway.kubernetes.inputs.GetPoolArgs;
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) {
// Get info by pool id
final var myKey = KubernetesFunctions.getPool(GetPoolArgs.builder()
.poolId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Get info by pool id
myKey:
fn::invoke:
function: scaleway:kubernetes:getPool
arguments:
poolId: 11111111-1111-1111-1111-111111111111
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get info by pool name (need cluster_id)
const myKey = scaleway.kubernetes.getPool({
name: "my-pool-name",
clusterId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Get info by pool name (need cluster_id)
my_key = scaleway.kubernetes.get_pool(name="my-pool-name",
cluster_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/kubernetes"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get info by pool name (need cluster_id)
_, err := kubernetes.LookupPool(ctx, &kubernetes.LookupPoolArgs{
Name: pulumi.StringRef("my-pool-name"),
ClusterId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get info by pool name (need cluster_id)
var myKey = Scaleway.Kubernetes.GetPool.Invoke(new()
{
Name = "my-pool-name",
ClusterId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.kubernetes.KubernetesFunctions;
import com.pulumi.scaleway.kubernetes.inputs.GetPoolArgs;
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) {
// Get info by pool name (need cluster_id)
final var myKey = KubernetesFunctions.getPool(GetPoolArgs.builder()
.name("my-pool-name")
.clusterId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Get info by pool name (need cluster_id)
myKey:
fn::invoke:
function: scaleway:kubernetes:getPool
arguments:
name: my-pool-name
clusterId: 11111111-1111-1111-1111-111111111111
Using getPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPool(args: GetPoolArgs, opts?: InvokeOptions): Promise<GetPoolResult>
function getPoolOutput(args: GetPoolOutputArgs, opts?: InvokeOptions): Output<GetPoolResult>def get_pool(cluster_id: Optional[str] = None,
name: Optional[str] = None,
pool_id: Optional[str] = None,
region: Optional[str] = None,
size: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetPoolResult
def get_pool_output(cluster_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pool_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
size: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPoolResult]func LookupPool(ctx *Context, args *LookupPoolArgs, opts ...InvokeOption) (*LookupPoolResult, error)
func LookupPoolOutput(ctx *Context, args *LookupPoolOutputArgs, opts ...InvokeOption) LookupPoolResultOutput> Note: This function is named LookupPool in the Go SDK.
public static class GetPool
{
public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions? opts = null)
public static Output<GetPoolResult> Invoke(GetPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
public static Output<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:kubernetes/getPool:getPool
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Id string - The cluster ID. Required when
nameis set. - Name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - Pool
Id string - The pool's ID. Only one of
nameandpool_idshould be specified. - Region string
region) The region in which the pool exists.- Size int
- The size of the pool.
- Cluster
Id string - The cluster ID. Required when
nameis set. - Name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - Pool
Id string - The pool's ID. Only one of
nameandpool_idshould be specified. - Region string
region) The region in which the pool exists.- Size int
- The size of the pool.
- cluster
Id String - The cluster ID. Required when
nameis set. - name String
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id String - The pool's ID. Only one of
nameandpool_idshould be specified. - region String
region) The region in which the pool exists.- size Integer
- The size of the pool.
- cluster
Id string - The cluster ID. Required when
nameis set. - name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id string - The pool's ID. Only one of
nameandpool_idshould be specified. - region string
region) The region in which the pool exists.- size number
- The size of the pool.
- cluster_
id str - The cluster ID. Required when
nameis set. - name str
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool_
id str - The pool's ID. Only one of
nameandpool_idshould be specified. - region str
region) The region in which the pool exists.- size int
- The size of the pool.
- cluster
Id String - The cluster ID. Required when
nameis set. - name String
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id String - The pool's ID. Only one of
nameandpool_idshould be specified. - region String
region) The region in which the pool exists.- size Number
- The size of the pool.
getPool Result
The following output properties are available:
- Autohealing bool
- True if the autohealing feature is enabled for this pool.
- Autoscaling bool
- True if the autoscaling feature is enabled for this pool.
- Container
Runtime string - The container runtime of the pool.
- Created
At string - The creation date of the pool.
- Current
Size int - Id string
- The provider-assigned unique ID for this managed resource.
- Kubelet
Args Dictionary<string, string> - 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.
- Node
Type string - The commercial type of the pool instances.
- Nodes
List<Pulumiverse.
Scaleway. Kubernetes. Outputs. Get Pool Node> - (List of) The nodes in the default pool.
- Placement
Group stringId - placement group the nodes of the pool are attached to.
- Public
Ip boolDisabled - Root
Volume intSize In Gb - Root
Volume stringType - Security
Group stringId - Status string
- The status of the node.
- List<string>
- The tags associated with the pool.
- Updated
At string - The last update date of the pool.
- Upgrade
Policies List<Pulumiverse.Scaleway. Kubernetes. Outputs. Get Pool Upgrade Policy> - Version string
- The version of the pool.
- Wait
For boolPool Ready - Zone string
- Cluster
Id string - Name string
- The name of the node.
- Pool
Id string - Region string
- Size int
- The size of the pool.
- Autohealing bool
- True if the autohealing feature is enabled for this pool.
- Autoscaling bool
- True if the autoscaling feature is enabled for this pool.
- Container
Runtime string - The container runtime of the pool.
- Created
At string - The creation date of the pool.
- Current
Size int - Id string
- The provider-assigned unique ID for this managed resource.
- Kubelet
Args map[string]string - 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.
- Node
Type string - The commercial type of the pool instances.
- Nodes
[]Get
Pool Node - (List of) The nodes in the default pool.
- Placement
Group stringId - placement group the nodes of the pool are attached to.
- Public
Ip boolDisabled - Root
Volume intSize In Gb - Root
Volume stringType - Security
Group stringId - Status string
- The status of the node.
- []string
- The tags associated with the pool.
- Updated
At string - The last update date of the pool.
- Upgrade
Policies []GetPool Upgrade Policy - Version string
- The version of the pool.
- Wait
For boolPool Ready - Zone string
- Cluster
Id string - Name string
- The name of the node.
- Pool
Id string - Region string
- Size int
- The size of the pool.
- autohealing Boolean
- True if the autohealing feature is enabled for this pool.
- autoscaling Boolean
- True if the autoscaling feature is enabled for this pool.
- container
Runtime String - The container runtime of the pool.
- created
At String - The creation date of the pool.
- current
Size Integer - id String
- The provider-assigned unique ID for this managed resource.
- kubelet
Args Map<String,String> - max
Size Integer - The maximum size of the pool, used by the autoscaling feature.
- min
Size Integer - The minimum size of the pool, used by the autoscaling feature.
- node
Type String - The commercial type of the pool instances.
- nodes
List<Get
Pool Node> - (List of) The nodes in the default pool.
- placement
Group StringId - placement group the nodes of the pool are attached to.
- public
Ip BooleanDisabled - root
Volume IntegerSize In Gb - root
Volume StringType - security
Group StringId - status String
- The status of the node.
- List<String>
- The tags associated with the pool.
- updated
At String - The last update date of the pool.
- upgrade
Policies List<GetPool Upgrade Policy> - version String
- The version of the pool.
- wait
For BooleanPool Ready - zone String
- cluster
Id String - name String
- The name of the node.
- pool
Id String - region String
- size Integer
- The size of the pool.
- autohealing boolean
- True if the autohealing feature is enabled for this pool.
- autoscaling boolean
- True if the autoscaling feature is enabled for this pool.
- container
Runtime string - The container runtime of the pool.
- created
At string - The creation date of the pool.
- current
Size number - id string
- The provider-assigned unique ID for this managed resource.
- kubelet
Args {[key: string]: string} - max
Size number - The maximum size of the pool, used by the autoscaling feature.
- min
Size number - The minimum size of the pool, used by the autoscaling feature.
- node
Type string - The commercial type of the pool instances.
- nodes
Get
Pool Node[] - (List of) The nodes in the default pool.
- placement
Group stringId - placement group the nodes of the pool are attached to.
- public
Ip booleanDisabled - root
Volume numberSize In Gb - root
Volume stringType - security
Group stringId - status string
- The status of the node.
- string[]
- The tags associated with the pool.
- updated
At string - The last update date of the pool.
- upgrade
Policies GetPool Upgrade Policy[] - version string
- The version of the pool.
- wait
For booleanPool Ready - zone string
- cluster
Id string - name string
- The name of the node.
- pool
Id string - region string
- size number
- The size of the pool.
- autohealing bool
- True if the autohealing feature is enabled for this pool.
- autoscaling bool
- True if the autoscaling feature is enabled for this pool.
- container_
runtime str - The container runtime of the pool.
- created_
at str - The creation date of the pool.
- current_
size int - id str
- The provider-assigned unique ID for this managed resource.
- kubelet_
args Mapping[str, str] - 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.
- node_
type str - The commercial type of the pool instances.
- nodes
Sequence[Get
Pool Node] - (List of) The nodes in the default pool.
- placement_
group_ strid - placement group the nodes of the pool are attached to.
- public_
ip_ booldisabled - root_
volume_ intsize_ in_ gb - root_
volume_ strtype - security_
group_ strid - status str
- The status of the node.
- Sequence[str]
- The tags associated with the pool.
- updated_
at str - The last update date of the pool.
- upgrade_
policies Sequence[GetPool Upgrade Policy] - version str
- The version of the pool.
- wait_
for_ boolpool_ ready - zone str
- cluster_
id str - name str
- The name of the node.
- pool_
id str - region str
- size int
- The size of the pool.
- autohealing Boolean
- True if the autohealing feature is enabled for this pool.
- autoscaling Boolean
- True if the autoscaling feature is enabled for this pool.
- container
Runtime String - The container runtime of the pool.
- created
At String - The creation date of the pool.
- current
Size Number - id String
- The provider-assigned unique ID for this managed resource.
- kubelet
Args Map<String> - max
Size Number - The maximum size of the pool, used by the autoscaling feature.
- min
Size Number - The minimum size of the pool, used by the autoscaling feature.
- node
Type String - The commercial type of the pool instances.
- nodes List<Property Map>
- (List of) The nodes in the default pool.
- placement
Group StringId - placement group the nodes of the pool are attached to.
- public
Ip BooleanDisabled - root
Volume NumberSize In Gb - root
Volume StringType - security
Group StringId - status String
- The status of the node.
- List<String>
- The tags associated with the pool.
- updated
At String - The last update date of the pool.
- upgrade
Policies List<Property Map> - version String
- The version of the pool.
- wait
For BooleanPool Ready - zone String
- cluster
Id String - name String
- The name of the node.
- pool
Id String - region String
- size Number
- The size of the pool.
Supporting Types
GetPoolNode
- Id string
- The ID of the pool.
- Name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - Private
Ips List<Pulumiverse.Scaleway. Kubernetes. Inputs. Get Pool Node Private Ip> - List of private IPv4 and IPv6 addresses associated with the node
- Public
Ip string - The public IPv4.
- Public
Ip stringV6 - The public IPv6.
- Status string
- The status of the node.
- Id string
- The ID of the pool.
- Name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - Private
Ips []GetPool Node Private Ip - List of private IPv4 and IPv6 addresses associated with the node
- Public
Ip string - The public IPv4.
- Public
Ip stringV6 - The public IPv6.
- Status string
- The status of the node.
- id String
- The ID of the pool.
- name String
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - private
Ips List<GetPool Node Private Ip> - List of private IPv4 and IPv6 addresses associated with the node
- public
Ip String - The public IPv4.
- public
Ip StringV6 - The public IPv6.
- status String
- The status of the node.
- id string
- The ID of the pool.
- name string
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - private
Ips GetPool Node Private Ip[] - List of private IPv4 and IPv6 addresses associated with the node
- public
Ip string - The public IPv4.
- public
Ip stringV6 - The public IPv6.
- status string
- The status of the node.
- id str
- The ID of the pool.
- name str
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - private_
ips Sequence[GetPool Node Private Ip] - List of private IPv4 and IPv6 addresses associated with the node
- public_
ip str - The public IPv4.
- public_
ip_ strv6 - The public IPv6.
- status str
- The status of the node.
- id String
- The ID of the pool.
- name String
- The pool name. Only one of
nameandpool_idshould be specified.cluster_idshould be specified withname. - private
Ips List<Property Map> - List of private IPv4 and IPv6 addresses associated with the node
- public
Ip String - The public IPv4.
- public
Ip StringV6 - The public IPv6.
- status String
- The status of the node.
GetPoolNodePrivateIp
GetPoolUpgradePolicy
- Max
Surge int - The maximum number of nodes to be created during the upgrade
- int
- 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
- int
- The maximum number of nodes that can be not ready at the same time
- max
Surge Integer - The maximum number of nodes to be created during the upgrade
- Integer
- The maximum number of nodes that can be not ready at the same time
- max
Surge number - The maximum number of nodes to be created during the upgrade
- 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
- int
- The maximum number of nodes that can be not ready at the same time
- max
Surge Number - The maximum number of nodes to be created during the upgrade
- 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
scalewayTerraform Provider.
Scaleway v1.41.0 published on Saturday, Jan 10, 2026 by pulumiverse
