Best lite Kubernetes distribution/config for TP1/CM3
11/09/2023, 3:23 AM
I’m planning on setting up Kubernetes on my Turing Pi 1 but don’t know which software to use.
Pardon any inaccurate terminology as I’ve only set up Hypriot at least a year or so ago. I strictly followed Jeff Geerling’s blog at the time.
There are different references to k3s, k3d, k8s, Micro k8s, etc.
I’ve found several distributions listed as well, with different ways of rolling out the above:
- Ubuntu Server
- Raspberry OS
Some (like Hypriot) seem to have faded away.
I’d like to setup another Pi 4B 8GB, VM on my Dell PE R530, or a node on my TP2 as the admin/master.
P.S. Followed the following a long time ago in a galaxy far, far away:
Jeff Geerling's [Turing Pi Cluster](https://github.com/geerlingguy/turing-pi-cluster) @User
What I ended up doing has worked really well, although it was kind of a happy accident.
I had started using microk8s on an intel box as an all-in-one node, and I added my TuringPi modules as worker-only (non-HA) microk8s nodes. This meant I could keep my fav distro on all the nodes.
11/11/2023, 9:01 PM
I've been using k3s(Raspbian based host) on RPi based clusters and it worked quite well for me.
11/14/2023, 10:45 AM
I'm also using K3s, I've set it up with a modified version of https://github.com/k3s-io/k3s-ansible
My modifications were a mix of some commits from PRs about multiple nodes in the control plane and some fixes for Manjaro on ARM and I added a nginx load balancer: https://github.com/agravgaard/k3s-ansible
(Some of my changes may exist upstream now - I can see my fork is getting far behind)
With TP1 and CM3 the control plane is too heavy for one node (and I wanted redundancy), so I recommend having more than one "server" node