A pool is a set of identical nodes A pool has a name, a size (its desired number of nodes), node number limits (min, max), and a Scaleway Instance type. Changing those limits increases/decreases the size of a pool. As a result and depending on its load, the pool will grow or shrink within those limits when autoscaling is enabled.
List Pools in a Cluster
List all the existing pools for a specific Kubernetes cluster.
path Parameters
regionThe region you want to target
cluster_idID of the cluster whose pools will be listed.
query Parameters
order_bySort order of returned pools.
pagePage number for the returned pools.
page_sizeMaximum number of pools per page.
nameName to filter on, only pools containing this substring in their name will be returned.
statusStatus to filter on, only pools with this status will be returned.
List Pools in a Cluster › Responses
total_countTotal number of pools that exists for the cluster.
Paginated returned pools.
Create a new Pool in a Cluster
Create a new pool in a specific Kubernetes cluster.
path Parameters
regionThe region you want to target
cluster_idCluster ID to which the pool will be attached.
Create a new Pool in a Cluster › Request Body
namePool name.
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
Create a new Pool in a Cluster › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Get a Pool in a Cluster
Retrieve details about a specific pool in a Kubernetes cluster.
path Parameters
regionThe region you want to target
pool_idID of the requested pool.
Get a Pool in a Cluster › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Delete a Pool in a Cluster
Delete a specific pool from a cluster. Note that all the pool's nodes will also be deleted.
path Parameters
regionThe region you want to target
pool_idID of the pool to delete.
Delete a Pool in a Cluster › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Update a Pool in a Cluster
Update the attributes of a specific pool, such as its desired size, autoscaling settings, and tags. To upgrade a pool, you will need to use the dedicated endpoint.
path Parameters
regionThe region you want to target
pool_idID of the pool to update.
Update a Pool in a Cluster › Request Body
autoscalingNew value for the pool autoscaling enablement.
sizeNew desired pool size.
min_sizeNew minimum size for the pool.
max_sizeNew maximum size for the pool.
autohealingNew value for the pool autohealing enablement.
tagsNew tags associated with the pool.
New Kubelet arguments to be used by this pool. Note that this feature is experimental.
New upgrade policy for the pool.
security_group_idSecurity group ID in which all the nodes of the pool will be moved.
Update a Pool in a Cluster › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Set a list of labels for a specific pool
Apply a list of taints to all nodes of the pool (only apply to labels which was set through scaleway api).
path Parameters
regionThe region you want to target
pool_idSet a list of labels for a specific pool › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Set a list of startup taints for a specific pool
Apply a list of taints to new nodes of the pool which would not be reconciled by scaleway.
path Parameters
regionThe region you want to target
pool_idID of the pool to update.
Set a list of startup taints for a specific pool › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Set a list of taints for a specific pool
Apply a list of taints to all nodes of the pool which will be periodically reconciled by scaleway.
path Parameters
regionThe region you want to target
pool_idID of the pool to update.
Set a list of taints for a specific pool › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.
Upgrade a Pool in a Cluster
Upgrade the Kubernetes version of a specific pool. Note that it only works if the targeted version matches the cluster's version. This will drain and replace the nodes in that pool.
path Parameters
regionThe region you want to target
pool_idID of the pool to upgrade.
Upgrade a Pool in a Cluster › Request Body
versionNew Kubernetes version for the pool.
Upgrade a Pool in a Cluster › Responses
node_typeNode type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster.
sizeSize (number of nodes) of the pool.
idPool ID.
cluster_idCluster ID of the pool.
created_atDate on which the pool was created. (RFC 3339 format)
updated_atDate on which the pool was last updated. (RFC 3339 format)
namePool name.
statusPool status.
versionPool version.
autoscalingDefines whether the autoscaling feature is enabled for the pool.
min_sizeDefines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
max_sizeDefines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool.
container_runtimeCustomization of the container runtime is available for each pool.
autohealingDefines whether the autohealing feature is enabled for the pool.
tagsTags associated with the pool, see managing tagsOpen in new context.
placement_group_idPlacement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
Kubelet arguments to be used by this pool. Note that this feature is experimental.
Pool upgrade policy.
zoneZone in which the pool's nodes will be spawned.
root_volume_typeDefines the system volume disk type. Several types of volume (volume_type) are provided:.
l_ssdis a local block storage which means your system is stored locally on your node's hypervisor. This type is not available for all node typessbs_5kis a remote block storage which means your system is stored on a centralized and resilient cluster with 5k IOPS limitssbs_15kis a faster remote block storage which means your system is stored on a centralized and resilient cluster with 15k IOPS limitsb_ssdis the legacy remote block storage which means your system is stored on a centralized and resilient cluster. Not available for new pools, usesbs_5korsbs_15kinstead.
root_volume_sizeSystem volume disk size. (in bytes)
public_ip_disabledDefines 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.
security_group_idSecurity group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone.
Kubernetes labels applied and reconciled on the nodes.
Kubernetes taints applied and reconciled on the nodes.
Kubernetes taints applied at node creation but not reconciled afterwards.
regionCluster region of the pool.