Skip to main content
PUT
Set control plane 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 control plane on or off for one cluster.

enabled
boolean
required

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

Response

Successful response

A cluster's control-plane self-heal switch and its latest NotReady episode.

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 NotReady episode; null when the cluster never had one.

Example: