Skip to main content

What data survives when a node is replaced?

Syself support For release

When a node is replaced, its Kubernetes Node object is deleted. The node's conditions, health report, pod logs and emptyDir volumes are lost with it. Forward your pod logs to an external system if you want to keep them. Detection vs retention covers this.

The HetznerBareMetalHost is not deleted. It represents the physical server, not the Kubernetes node, so its conditions, hardware inventory and events are still there after the replacement. Events still expire after 3 hours.

What happens to persistent data 

  • Extra disks on bare metal are not touched. Only the root disk is rewritten.
  • Network-backed PersistentVolumes (hcloud Volumes) are detached and reattached to the new node by the CSI driver.
  • For data on local bare-metal disks, see Will data on local bare-metal disks survive an upgrade?.

Still stuck?

Prepare your case, then email us.