Create a new Kubernetes cluster
Creates a new Kubernetes cluster for the authenticated account. To preview pricing without creating anything, use POST /kubernetes/cost-estimate.
Authentication
X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret
Request
This endpoint expects an object.
name
Name of the cluster
package
Package label to use for the cluster
region
Region where to deploy the cluster
version
Kubernetes version to use (semantic version)
controlNodes
Number of control plane nodes
workerNodes
Number of worker nodes
description
Description of the cluster
networkId
Network ID to use for the cluster
keypair
SSH keypair name to use for cluster nodes
Response
The cluster has been successfully created
id
Unique identifier for the cluster.
name
Human-readable name for the cluster.
region
Region the cluster is deployed in.
status
Current lifecycle state of the cluster.
kubernetesVersion
Kubernetes version the cluster is running.
createdAt
When the cluster was created.
package
Package label describing the per-node CPU/memory/disk preset.
description
Description of the cluster.
nodePool
Node-pool configuration for the cluster.
ipAddress
Public IP address attached to the cluster.
ipAddressId
Identifier of the public IP attached to the cluster.
deletedAt
When the cluster was deleted. Omitted if the cluster still exists.
nodes
Cluster nodes. Only included when details=true.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error