Kubernetes

Create a Kubernetes cluster

Starts creating a cluster with a managed control plane in one data center; poll getKubernetesCluster for its status. Node pools in the request are added once the control plane is ready; add more later with createKubernetesNodePool. A cluster's name is unique within the organization: a create with the name of one of its clusters answers 409 NAME_TAKEN until that cluster's deletion completes. An organization has a configured limit on clusters creating at once; a create at that limit answers 409 TOO_MANY_CLUSTERS_CREATING until one of them leaves creating. Needs clusters:write on an API key, or the owner, admin or member role on a session.

post/v1/kubernetes/clusters

Request body

kubernetesVersion'v1.37.1'

Kubernetes version. v1.37.1 is the only supported version, and a cluster is not upgraded in place.

locationIdstring required

The data center for the cluster's nodes, one of listLocations.

namestring required

Response

Creation started

idstring uuid required
status'creating' | 'ready' | 'updating' | 'degraded' | 'deleting' | 'failed' required

creating: the control plane is being provisioned, and stays creating until it is serving and authorizes the platform's own writes. ready: fully operational. updating: a control-plane change is in progress. degraded: partially operational, for example the control plane stopped serving or its datastore is write-limited. deleting: deletion is in progress and final. failed: an unrecoverable error.

Changes

Changed in 1 of the 40 revisions of this API.1