Prelude to HomeLab - High Availability Rancher and Kubernetes K3S Cluster Install
Channel: CommunityUs Org
Date: 18/11/2022

How I setup my HomeLab using two Raspberry Pi's, two old PC's and one node with NVIDIA GPU's. Setup High Availability k3s and rancher.

I made this video as a companion to Techo Tim's walk through: https://www.youtube.com/watch?v=APsZJbnluXg

All promised links are available on the wiki. Found here: https://github.com/communityus-llc/100-days-of-homelab-site/wiki

0:00 Intro - 2x RPi's, 2x Master, 1x Node with NVIDIA GPUs
2:23 Watch in 4K resolution 
3:05 Raspbian 32bit/64bit, NGINX, MySQL, IPs, Win IoT Core
6:53 Techno Tim Shout Out, wiki with links
7:20 Free memory, MariaDB 10.5, Ubuntu, GitHub wiki
12:22 IP Address Map, Prerequisite, Old Pi's, HomeLab Joy
17:03 Username VS root, sudo for hostname, RPi power
21:10 Setup SSH on Raspberry Pi
23:04 NGINX Load Balancer, no docker
24:45 Hostname and /etc/hosts
28:25 K3s Install kubeVersion: 1.25.0-0 version
29:41 Failure, Errors and Issues
30:47 K3S_TOKEN VS - - token, feeling good
33:55 MySQL Workbench, kine and bootstrap, queries
36:33 How to uninstall K3s, known database errors
40:14 DROP DATABASE 'k3s', Patriot, FLUSH HOSTS; su
43:12 LAST HALF - START HERE for proper db setup
45:53 Setup masters, NGINX LB in prev chapter, IP *.25
47:42 Kube cuddle, - - token
49:07 sudo: unable to resolve host, /etc/hosts hostname
51:04 K3s node setup using Steam as remote desktop
52:57 Don't kubectl on nodes, win linux subsystem
54:32 /.kube/config, k3s.yaml, change LB
55:36 Rancher hostname my.rancher.internal, localhost
57:13 Struggle, confidence and being tenacious
58:12 Already have kubectl and helm, what i did
59:39 Dashboard admin user role .yml, K3s Rancher
1:00:35 Install commands on preexisting kubectl
1:01:12 kubectl proxy - login url, not 127.0.0.1:8001
1:02:36 Where is kubernetes-dashboard namespace?
1:04:21 Don't try and think for me. You know?
1:05:14 helm repo add rancher-stable, install Rancher
1:08:22 rancher.localhost VS my.rancher.internal
1:09:58 C:\Windows\System32\drivers\etc
1:11:57 Rancher Load Balancer Setup, 2x NICs
1:13:49 Don't suffer!, curl working rancher.localhost
1:15:45 K3s Rancher multiple NICs LB thoughts
1:17:54 ipconfig /flushdns, localhost hardcoded
1:19:33 Firefox advanced DNS, fail
1:20:28 my.rancher.internal as hostname in hosts
1:21:09 Self signed certificate, closing thoughts...
1:22:08 #100DaysOfHomeLab, the Dream
1:23:55 Technical artist and dev layers
1:24:29 The Dream: Home, Business and Enterprise