Skip to main content

Create a Kubernetes

POST/api/v1/kubernetes/

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Request body

application/json

object
namestringrequired

The name of the Kubernetes cluster.

exampleE2E-K8s-Cluster-143
versionstringrequired

The version of Kubernetes.

example1.30
slug_namestringrequired

The slug name of the cluster.

exampleC3-4vCPU-8RAM-100DISK-3rdGen-K8s1_30-master-Delhi
vpc_idstringrequired

The ID of the Virtual Private Cloud (VPC).

example16791
subnet_idstring

Subnet ID of the custom VPC (applicable only if a custom VPC is used).

example12345
sku_idstringrequired

The SKU ID for the cluster.

example1178
security_group_idintegerrequired

The ID of the security group attached to the cluster.

example682
isEncryptionEnabledboolean

Flag to enable or disable encryption.

examplefalse
encryption_passphrasestring

Encryption passphrase (if encryption is enabled).

example
node_poolsarrayrequired

Responses

201Successful document creation with service details.
object
codeinteger
example201
dataobject
errorsobject
messagestring
exampleSuccess