Kubernetes

Create Kubernetes cluster

post/kubernetes/

Deploy a new managed Kubernetes cluster. The control plane is managed by CubePath and workers run on your VPS instances.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Cuerpo de la petición

application/jsonObligatorio
project_id*integer
name*string
Rango3 ≤ length ≤ 100Rangopattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$
location_name*string
version?string | null
ha_control_plane?boolean
Por defectofalse
allocate_ipv4?boolean
Por defectotrue
allocate_ipv6?boolean
Por defectotrue
network?NetworkConfig | null
Propiedades (4)
network_id?integer | null
node_cidr?string | null
pod_cidr?string
Por defecto"10.42.0.0/16"
service_cidr?string
Por defecto"10.43.0.0/16"
node_pools*array<NodePoolCreate>
Rangoitems ≥ 1Rangoitems ≤ 10
Propiedades (6)
name?string
Rango1 ≤ length ≤ 100Rangopattern ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$Por defecto"default"
plan*string
count?integer
Rango1 ≤ value ≤ 100Por defecto1
auto_scale?boolean
Por defectotrue
labels?record<string, string> | null
taints?array<TaintSpec> | null
Propiedades (3)
key*string
Rango1 ≤ length ≤ 253
value*string
Rangolength ≤ 63
effect*string
Valores"NoSchedule""PreferNoSchedule""NoExecute"

Respuestas

Successful Response

application/json

detail*string
uuid*string
name*string
api_endpoint*string
status*string