Skip to main content
POST
Replace a managed node pool with a new size

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

provider
enum<string>
required
Available options:
doks,
uks,
gke,
ovh_mks,
aks,
eks,
kapsule,
ankracloud_k8s
Example:

"kapsule"

cluster_id
string<uuid>
required
node_pool_name
string
required

Body

application/json
size
string
required
Minimum string length: 1
replacement_pool_name
string | null

Optional name for the replacement pool, validated like the name of an added pool (a Kubernetes label value: at most 63 letters, digits, '-', '_' or '.', beginning and ending with a letter or digit). A name another pool of the cluster holds, or an in-flight replacement will take, is refused with 409 "Node pool already exists". Absent or null, the platform derives a deterministic name from the pool and the new size. Retries: while the earlier replacement of this pool is still pending, a repeat answers 409 "Node pool replacement is already in progress"; once the earlier attempt has failed (or its lease expired) a repeat with the same name and exactly the same size resumes it, and the same name with any other size is refused with 409; after a replacement completed the replaced pool no longer exists, so a repeat answers 404.

Required string length: 1 - 63

Response

Replacement accepted

operation_id
string<uuid>
required

The platform operation that creates the replacement pool, waits for it to be ready and deletes the replaced one; poll it for the outcome.

cluster_id
string<uuid>
required
new_size
string
required
node_pool_name
string
required
old_size
string
required
replacement_pool_name
string
required