Skip to main content
PUT
Resize node group

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Headers

X-Ankra-CSRF
string
required

Must match the ankra_csrf browser cookie.

Path Parameters

cluster_id
string<uuid>
required
vm_id
string<uuid>
required

Body

application/json
instance_type
string
required

The new instance type for every node in the group. Changing it power-cycles each node, so the nodes are rolled in bounded lanes and each is drained before it goes down.

force_drain
boolean
default:false

Bypass PodDisruptionBudgets when draining each node before it is power-cycled. Off by default: a budget is a workload owner's stated availability requirement.

Response

Successful response

id
string<uuid>
required
name
string
required
instance_type
string
required
operation_id
string | null
required