Menu

7 gotchas I hit building a 3-node Kubernetes cluster on Ubuntu 26.04
📰

7 gotchas I hit building a 3-node Kubernetes cluster on Ubuntu 26.04

DEV Community: kubernetes·Henry Hans·10 days ago
#M0EKVdJX
#devtokubernetes#devto#dev#kubeadm#kubernetes
Long article (780 words) — no AI summary yet.
Reading 0:00
15s threshold

I recently built a three-node Kubernetes cluster with kubeadm on fresh Ubuntu Server 26.04 LTS virtual machines: one control plane node and two workers. The official docs got me most of the way. These seven problems got me the rest of the way, and none of them announced themselves clearly.

1. VM clock drift breaks kubeadm init

If a VM's clock is off, kubeadm generates certificates that are "not yet valid" from the point of view of another node, and you get TLS errors that look like a networking problem. VMs that were suspended or cloned are the usual suspects.

Check every node before you start:

timedatectl status

Enter fullscreen mode

Exit fullscreen mode

You want System clock synchronized: yes . If it says no, fix time sync first and only then run kubeadm init or kubeadm join .

2. Cloned VMs with the same hostname

I cloned the first worker to make the second. Both had the same hostname, so kubeadm join on the clone didn't add a new node. It quietly replaced the existing one.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.