Skip to main content

What should I do if my control plane seems to be down?

Syself support For release

If your Kubernetes control plane seems to be down, email support@syself.com⁠ right away and say in the subject that the control plane is down. Send the ticket first and add the details we need afterwards. Ask early, before you try to repair it yourself. As long as the servers exist, a cluster can almost always be recovered, and Syself can usually bring etcd back in sync even when only one control-plane node is left.

Signs of a control plane outage are kubectl commands that time out and deployments or scaling that stop working. Pods that are already running keep running and keep serving traffic. What stops is everything that needs the Kubernetes API: you cannot deploy, scale or change anything, and pods from a failed node are not started elsewhere until the API is back.

The control plane runs on your own servers, so you can see its state yourself. The management cluster gives you the overview, also while the API of your cluster does not answer:

plaintext
				kubectl get cluster <cluster-name>
kubectl get machines -l cluster.x-k8s.io/control-plane
kubectl get kubeadmcontrolplane
			

Some things look like an outage and are not:

  • A KubeGate policy blocks you. If you restricted access to the API server with a KubeGate policy, kubectl gets no answer from an IP address that is not on your list, for example after your office IP changed. The control plane is healthy in that case. The policy lives on the management cluster, so you can always correct it there, as described in KubeGate: restrict API server access.
  • Only a direct connection to a control-plane node is refused. If kubectl works, the control plane is up. The API is reachable only through its load balancer.
  • Only the management cluster does not answer. Your own cluster is not affected. See What happens if Syself has an outage?

Do not delete a control-plane Machine and do not reboot servers to reset it. A control plane with three nodes needs two healthy ones, and removing the wrong one makes the outage worse. A single control-plane node has no spare at all, so run three in production. A production cluster on a single control plane is not covered by support, also on paid plans. The reasons are in How many control-plane nodes should we run?

Before you change anything yourself, read Control-plane and etcd recovery to learn how to read the symptoms and what is safe to do. If a rollout is running and does not move, see What should I do if a control plane rollout is stuck?

Still stuck?

Prepare your case, then email us.