Re:Building a bare-metal Kubernetes cluster on Raspberry Pi
by zzyzxd on Monday November 22, 2021 @11:38AM
(#29308339)
One disadvantage of k3s, is that it does not have HA control plane out of box (specifically, users are expected to bring their own HA database solution[1]). Without that, losing the single point of failure control plane node is going to give you a very bad day.
I use kubespray[2] to manage my raspberry pi based k8s homelab, and replacing any nodes, including HA control plane nodes, is as easy as swapping the board and executing an ansible playbook. The downsides of this, are that it requires the users to have more knowledge about operating k8s, and a single ansible playbook run takes 30-40 minutes...
Re:Building a bare-metal Kubernetes cluster on Raspberry Pi
by yankcrime on Monday November 22, 2021 @12:01PM
(#29308642)
> One disadvantage of k3s, is that it does not have HA control plane out of box
This hasn't been true for a while, since these days K3s ships with etcd embedded: https://rancher.com/docs/k3s/latest/en/installation/ha-embed...
Yes, you would just attach it to the network switch and have it join the cluster.
The control plane will "discover" the additional capacity and redistribute workloads if necessary.
With k3s, a new node can join the cluster with a single command (assuming you have the API token).
Something like: