Skip to main content
PUT
Set worker self-heal

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

cluster_id
string<uuid>
required

Body

application/json

Turns the automatic restart of a NotReady worker node on or off for one cluster.

enabled
boolean
required

Whether Ankra may restart a NotReady worker of this cluster through its cloud provider. Must be a real boolean.

Response

Successful response

A cluster's worker self-heal switch and the latest NotReady episode of one of its workers.

cluster_id
string<uuid>
required
enabled
boolean
required

The stored switch. On for every cluster until a member turns it off.

latest_incident
object | null
required

The most recent worker NotReady episode; null when the cluster never had one.

Example: