Skip to main content
PUT
Scale node group (browser session)

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
group_name
string
required

Body

application/json
count
integer
required
force_drain
boolean
default:false

Scale-down only. Remove the workers this request takes away without honouring PodDisruptionBudgets: each is drained the way a cluster teardown drains it and removed even when its drain is refused or its node cannot be reached. Off by default: a scale-down drains the removed workers one at a time through their budgets and keeps a worker whose drain is refused.

Response

Successful response

group_name
string
required
new_count
integer
required
previous_count
integer
required