start_cluster
Start a stopped Ankra-provisioned self-managed cluster: re-provisions its VMs from the configuration preserved at stop time (on Scaleway and AWS, powers the preserved servers back on instead of rebuilding them) and brings Kubernetes and the installed stacks back up. Refused unless the cluster is stopped, a retry of a start whose control plane never came up, or a full start bringing parked workers back. When the stop deleted the VMs and a cluster state snapshot was captured after the cluster's last start (the stop's own capture, otherwise the newest scheduled etcd backup), the first control plane restores it (etcd reset from the snapshot, stale Node and VolumeAttachment objects cleared) instead of bootstrapping an empty cluster, so workloads come back with their Secrets, ConfigMaps, custom resources and persistent volumes; a snapshot from before the last start is restored only when named with restore_snapshot_id (the refusal names it), and a restore already requested is always kept. A paused cluster keeps its etcd and gets no new restore. The result names the snapshot (state_snapshot_id, state_snapshot_trigger, state_snapshot_captured_at) and says in its message what happens to the cluster state. restore_state=false starts fresh instead. Optional scope: 'all' (default) restores the full cluster; 'control_plane' restores only the control plane and bastion (e.g. to verify a change_control_plane result cheaply). Provisioning runs in the background as tracked operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | What to start. Default: 'all'. | |
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. | |
| restore_state | No | Default (omitted): restore an already requested snapshot, otherwise, when the stop deleted the VMs, the newest state snapshot captured after the cluster's last start (the stop's capture or the newest scheduled backup); an older one is refused with its id; a paused cluster keeps its etcd and gets no new restore. true: the same, refusing when there is nothing to restore (a no-op on a paused cluster). false: start with an empty etcd and withdraw any pending restore (refused while an install is mid-restore); the result says how many captured snapshots are left unrestored. | |
| restore_snapshot_id | No | Id of the captured state snapshot to restore, whatever its age (the id a refused start names, or one from the cluster's snapshot list). Not with restore_state=false. |