In this video, I show you how to find the new Raspberry Pis on your network and connect to them with SSH. Then I explain Kubernetes and the many different flavors of Kubernetes you could install on a Raspberry Pi.

Finally, I set up Rancher’s K3s lightweight Kubernetes distribution on the Turing Pi cluster, make sure the cluster is working correctly, then show you how to shut down the cluster safely.

Sponsor me on GitHub: https://github.com/sponsors/geerlingguy
Sponsor me on Patreon: https://www.patreon.com/geerlingguy

Transcript and links relating to topics discussed in the video are on my blog: https://www.jeffgeerling.com/blog/2020/pi-cluster-episode-3-installing-k3s-kubernetes-on-turing-pi

Contents:

00:00 – Intro
01:08 – Use nmap to find your Pis
04:01 – What’s Kubernetes?
05:38 – Many ways to install K8s
07:49 – Installing K3s
10:57 – Running the k3s-ansible playbook
13:53 – Connecting to the cluster with kubectl
15:51 – Shut down all the Pis with Ansible
16:54 – Outtro

Mentioned in this video:

Install Ansible: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

Install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/

Turing Pi: https://turingpi.com

Kubernetes: https://kubernetes.io

K3s: https://k3s.io

source