Deploy a Samba (SMB) Fileserver on your K3s/Kubernetes Cluster

Photo of external hard disks

So, you have successfully setup your home K3s/Kubernetes cluster. And it is time to deploy some useful applications on the cluster? How about a file server for your home network? Chances are you already have a disk with lots of files that you want to migrate to your K3s cluster. So, in this scenario we will take a USB disk with it contents and attach it to one of the worker nodes (e.g. node ‘raspi3’). We will label this node (e.g. with ‘hdd2’) so the deployment can be configured to only be installed on the node with the external disk....

Continue reading...

Setup K3s/Kubernetes Cluster with Ubuntu 20.04 on Raspberry Pi 4s

Photo of a Raspberry Pi Cluster

/## Install K3s Install the server version of Ubuntu on each Raspberry and assign a different hostname to each. In case you local router (wifi router etc.) does not resolve those hostnames add all to the /etc/hosts file on each Raspberry. Update system on all Raspberry Pis sudo apt-get update && sudo apt-get upgrade Install will fail with error "Failed to find memory cgroup, you may need to add "cgroup_memory=1 cgroup_enable=memory" to your linux cmdline (/boot/cmdline.txt on a Raspberry Pi)" if you do not add a line to each Raspberry’s cmdline.txt file and then reboot. So, run: sudo sed -i...

Continue reading...