How do we survive a datacenter outage?
To survive a Hetzner datacenter outage with Kubernetes, run a second cluster in another region and move traffic to it with DNS failover or a CDN. A region here is a Hetzner location such as Falkenstein, Nuremberg or Helsinki, the region you set when you create a cluster.
A cluster's control plane runs in one region. Syself does not run control planes across regions, because the latency between them would affect normal operation all the time, not only during an outage. The Hetzner Load Balancer is also bound to one region. So when a whole region goes down, the cluster in it goes down too, and you need a second Kubernetes cluster in another region to keep serving.
Worker pools in other locations do not change this. Their pods keep running, but you cannot change anything in the cluster while the control plane's region is down, and a load balancer in that region is down with it.
Keep the Cluster manifest and your workload manifests in Git. The second cluster uses the same Cluster manifest with another name, another region and another failureDomain on the cloud worker pools. Syself Autopilot builds the cluster from it, and your GitOps tool syncs the workloads onto it. The data is the part you plan yourself: replicate databases between the clusters, or restore them from backups stored outside the failed region.
Which state comes back from Git and which needs a backup is explained in Backup and Disaster Recovery. For the order in which you rebuild and restore, follow Disaster recovery for stateful data.
A single server failing does not need a second cluster. Three control-plane nodes on separate hosts cover that, as explained in Can the control plane be spread across locations?
Related questions
