Our cluster went down. Root cause? Was it Hetzner?
To find the root cause of a Kubernetes cluster outage, collect the evidence before it is gone, then go through the usual causes. Whether it was Hetzner shows in Hetzner Status and in the events of your Machines for the same time window.
If the cluster is still down, start with What should I do if my control plane seems to be down? and write to us early. As long as the servers exist, a cluster can almost always be recovered.
Collect these first, because a node that was replaced no longer has its logs:
- Node logs from the nodes that are still running.
- The Cluster and Machine events on the management cluster. They show which machines failed and what Syself Autopilot did about it.
- Hetzner Status for incidents and maintenance at that time.
The commands for each case are in Collect logs and events.
Then check these causes:
- Control-plane nodes short of memory. The default type
cpx32(8 GB) fits small clusters. For more than 10 nodes, or many pods and frequent changes, usecpx42(16 GB) or larger, as described in Configure control planes. - A control plane with one node. If it fails, the Kubernetes API is down until it is replaced. Production needs three, and a production cluster on a single control plane is not covered by support, also on paid plans. See How many control-plane nodes should we run?
- A Hetzner incident, or a hardware failure on a bare-metal server.
Syself Autopilot detects failed nodes and repairs or replaces them. For the root cause you also need metrics and logs from the time of the outage, and that history comes from your own observability stack. If you do not have one yet, start with Plan your observability stack.
To go through it with Syself support, prepare your case and send us what you collected.
Related questions
