Best lite Kubernetes distribution/config for TP1/C...
# │forum
t
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: - Hypriot - Ubuntu Server - DietPi - 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. Any suggestions? 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
- Jeff Geerling's [Turing Pi Cluster](https://github.com/geerlingguy/pi-cluster)
^ just a link for future reference
p
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.
p
I've been using k3s(Raspbian based host) on RPi based clusters and it worked quite well for me.
a
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
n
I'm using this Ansible Role (on TPi2 though) which seems more active 😉 https://github.com/PyratLabs/ansible-role-k3s
5 Views