restart_node
Restart one provisioned VM node of an Ankra-managed cluster (Hetzner, OVH, UpCloud, DigitalOcean, Scaleway, or Proxmox) - a control-plane node, a worker, or the cluster's bastion/gateway. Schedules a native reboot (falling back to a power cycle) through the cloud provider API as a tracked operation; the node must be in the 'up' state and have no restart already in flight. Workloads on the node are briefly unavailable while it reboots. This is the fix for a VM that is hung or powered off - the case where SSH cannot reach the node at all. It is not a remedy for failed addon/manifest deploys or an unresponsive cluster agent, which ride the agent's outbound message-bus connection rather than node SSH. Identify the node with node_id (preferred, from list_cluster_nodes), node_name (exact match), or target="bastion" (the cluster's singleton bastion/gateway, no name needed). Always call list_cluster_nodes first if you do not already have the node_id. Not supported for HPE Morpheus or non-Ankra-provisioned clusters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Convenience selector for the cluster's singleton bastion/gateway node, when you don't know its name. | |
| node_id | No | UUID of the node to restart. Preferred when known (from list_cluster_nodes). | |
| node_name | No | Exact name of the node to restart. Alternative to node_id. | |
| cluster_id | No | UUID of the cluster the node belongs to. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the cluster the node belongs to. Optional when a cluster is selected. |