A cluster is a fully managed Kubernetes cluster It is composed of different pools, each pool containing the same kind of nodes.
List Clusters
List all existing Kubernetes clusters in a specific region.
path Parameters
regionThe region you want to target
query Parameters
organization_idOrganization ID on which to filter the returned clusters.
project_idProject ID on which to filter the returned clusters.
order_bySort order of returned clusters.
pagePage number to return for clusters, from the paginated results.
page_sizeMaximum number of clusters per page.
nameName to filter on, only clusters containing this substring in their name will be returned.
statusStatus to filter on, only clusters with this status will be returned.
typeType to filter on, only clusters with this type will be returned.
private_network_idPrivate Network ID to filter on, only clusters within this Private Network will be returned.
List Clusters › Responses
total_countTotal number of clusters.
Paginated returned clusters.
Create a new Cluster
Create a new Kubernetes cluster in a Scaleway region.
path Parameters
regionThe region you want to target
Create a new Cluster › Request Body
nameCluster name.
versionKubernetes version of the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
project_idProject ID in which the cluster will be created.
typeType of the cluster. See list available cluster types for a list of valid types.
descriptionCluster description.
tagsTags associated with the cluster.
Pools created along with the cluster.
Autoscaler configuration for the cluster. It allows you to set (to an extent) your preferred autoscaler configuration, which is an implementation of the cluster-autoscaler (https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/Open in new context).
Auto upgrade configuration of the cluster. This configuration enables to set a specific 2-hour time window in which the cluster can be automatically updated to the latest patch version.
feature_gatesList of feature gates to enable.
admission_pluginsList of admission plugins to enable.
OpenID Connect configuration of the cluster. This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication (cannot be changed later).
pod_cidrSubnet used for the Pod CIDR (cannot be changed later). (IP network)
service_cidrSubnet used for the Service CIDR (cannot be changed later). (IP network)
service_dns_ipIP used for the DNS Service (cannot be changes later). If unset, default to Service CIDR's network + 10. (IPv4 address)
organization_idOrganization ID in which the cluster will be created.
Create a new Cluster › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.
Get a Cluster
Retrieve information about a specific Kubernetes cluster.
path Parameters
regionThe region you want to target
cluster_idID of the requested cluster.
Get a Cluster › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.
Delete a Cluster
Delete a specific Kubernetes cluster and all its associated pools and nodes, and possibly its associated Load Balancers or Block Volumes.
path Parameters
regionThe region you want to target
cluster_idID of the cluster to delete.
query Parameters
with_additional_resourcesDefines whether all volumes (including retain volume type), empty Private Networks and Load Balancers with a name starting with the cluster ID will also be deleted.
Delete a Cluster › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.
Update a Cluster
Update information on a specific Kubernetes cluster. You can update details such as its name, description, tags and configuration. To upgrade a cluster, you will need to use the dedicated endpoint.
path Parameters
regionThe region you want to target
cluster_idID of the cluster to update.
Update a Cluster › Request Body
nameNew external name for the cluster.
descriptionNew description for the cluster.
tagsNew tags associated with the cluster.
New autoscaler config for the cluster.
New auto upgrade configuration for the cluster. Note that all fields needs to be set.
feature_gatesList of feature gates to enable.
admission_pluginsList of admission plugins to enable.
OpenID Connect configuration of the cluster. This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
Update a Cluster › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.
List available cluster types for a cluster
List the cluster types that a specific Kubernetes cluster is allowed to switch to.
path Parameters
regionThe region you want to target
cluster_idCluster ID for which the available Kubernetes types will be listed.
List available cluster types for a cluster › Responses
Available cluster types for the cluster.
total_countTotal number of types.
List available versions for a Cluster
List the versions that a specific Kubernetes cluster is allowed to upgrade to. Results will include every patch version greater than the current patch, as well as one minor version ahead of the current version. Any upgrade skipping a minor version will not work.
path Parameters
regionThe region you want to target
cluster_idCluster ID for which the available Kubernetes versions will be listed.
List available versions for a Cluster › Responses
Available Kubernetes versions for the cluster.
Download the kubeconfig for a Cluster
Download the Kubernetes cluster config file (also known as kubeconfig) for a specific cluster to use it with kubectl.
Tip: add ?dl=1 at the end of the URL to directly retrieve the base64 decoded kubeconfig. If you choose not to, the kubeconfig will be base64 encoded.
path Parameters
regionThe region you want to target
cluster_idCluster ID for which to download the kubeconfig.
query Parameters
redactedHide the legacy token from the kubeconfig.
Download the kubeconfig for a Cluster › Responses
namecontent_typecontentReset the admin token of a Cluster
Reset the admin token for a specific Kubernetes cluster. This will revoke the old admin token (which will not be usable afterwards) and create a new one. Note that you will need to download the kubeconfig again to keep interacting with the cluster.
path Parameters
regionThe region you want to target
cluster_idCluster ID on which the admin token will be renewed.
Reset the admin token of a Cluster › Responses
Change the Cluster type
Change the type of a specific Kubernetes cluster. To see the possible values you can enter for the type field, list available cluster types.
path Parameters
regionThe region you want to target
cluster_idID of the cluster to migrate from one type to another.
Change the Cluster type › Request Body
typeType of the cluster. Note that some migrations are not possible (please refer to product documentation).
Change the Cluster type › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.
Upgrade a Cluster
Upgrade a specific Kubernetes cluster and possibly its associated pools to a specific and supported Kubernetes version.
path Parameters
regionThe region you want to target
cluster_idID of the cluster to upgrade.
Upgrade a Cluster › Request Body
versionNew Kubernetes version of the cluster. Note that the version should either be a higher patch version of the same minor version or the direct minor version after the current one.
upgrade_poolsDefines whether pools will also be upgraded once the control plane is upgraded.
Upgrade a Cluster › Responses
idCluster ID.
typeCluster type.
nameCluster name.
statusStatus of the cluster.
versionKubernetes version of the cluster.
regionRegion in which the cluster is deployed.
organization_idID of the Organization owning the cluster.
project_idID of the Project owning the cluster.
tagsTags associated with the cluster.
cniContainer Network Interface (CNI) plugin running in the cluster.
descriptionCluster description.
cluster_urlKubernetes API server URL of the cluster.
dns_wildcardWildcard DNS resolving all the ready cluster nodes.
created_atDate on which the cluster was created. (RFC 3339 format)
updated_atDate on which the cluster was last updated. (RFC 3339 format)
Autoscaler configuration for the cluster, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.mdOpen in new context for details.
Auto upgrade Kubernetes version of the cluster.
upgrade_availableDefines whether a new Kubernetes version is available.
feature_gatesList of enabled feature gates.
admission_pluginsList of enabled admission plugins.
This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.
apiserver_cert_sansAdditional Subject Alternative Names for the Kubernetes API server certificate.
private_network_idPrivate network ID for internal cluster communication.
commitment_ends_atDate on which it will be possible to switch to a smaller offer. (RFC 3339 format)
iam_nodes_group_idIAM group that nodes are members of (this field might be empty during early stage of cluster creation).
pod_cidrSubnet used for the Pod CIDR. (IP network)
service_cidrSubnet used for the Service CIDR. (IP network)
service_dns_ipIP used for the DNS Service. (IPv4 address)
acl_availableDefines whether ACL is available on the cluster.