Retire gone machine rows
retire_gone_machine_rowsRetire platform server records of an Ankra-provisioned cluster (Hetzner, UpCloud, DigitalOcean, AWS, or Ankra Cloud) whose machine the cloud provider no longer has - the fix for a phantom worker or a stale server record get_cluster_machine_inventory classified 'phantom' or 'gone_kept'. Pass the resource_ids it listed in retirable_resource_ids (at most 20 per call). The scheduler proves every row gone again at write time and retires it ONLY when the provider answers 404 for the row's recorded machine id AND answers another machine of the same cluster as present in the same pass; any other answer - a timeout, an auth error, a 404 with nothing to confirm it, or the machine still present - leaves the row untouched and says why. A live worker record becomes down and permanently deleted together with its per-node Kubernetes record, and a node group without autoscaling whose last worker it was releases its settings, as a normal worker delete does; a parked worker record of a stopped cluster is marked for permanent deletion together with its parked per-node Kubernetes record, so a start does not try to bring either back. A control-plane or bastion record, live or parked, is never retired, and a record that changed since the proof (re-pointed at another machine, resurrected, or with a job in flight on it) is left alone. The machine itself is not touched - the provider already deleted it. The Kubernetes Node object, if one lingers, is not deleted. The report lists every row by name with retired true or false and the reason. Not available for imported or managed-Kubernetes clusters, nor (yet) OVH, Scaleway, Proxmox or HPE Morpheus.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_ids": "<resource_ids>"
},
"name": "retire_gone_machine_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the cluster. Optional when a cluster is selected. | |
| resource_ids | Yes | resource_id of each record to retire, as get_cluster_machine_inventory listed it in retirable_resource_ids. |