Setting up kubernetes is hard. That's why we made it easy. Today we'll set up a High Availability K3s cluster using etcd, MetalLB, kube-vip, and Ansible. We'll automate the entire process giving you an easy, repeatable way to create a k3s cluster that you can run at home in a few minutes.
This is a great way to set up Kubernetes in your HomeLab.
Video Notes: https://technotim.live/posts/k3s-etcd-ansible/
Support me on Patreon: https://www.patreon.com/technotim
Sponsor me on GitHub: https://github.com/sponsors/timothystewart6
Subscribe on Twitch: https://www.twitch.tv/technotim
Become a YouTube member: https://www.youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join
Merch Shop 🛍️: https://l.technotim.live/shop
Gear Recommendations: https://l.technotim.live/gear
Get Help in Our Discord Community: https://l.technotim.live/discord
Tinkers channel: https://www.youtube.com/@TechnoTimTinkers
A HUGE THANKS to our sponsor, Micro Center!
New Customers Exclusive – Get a Free 240gb SSD at Micro Center: https://micro.center/1043bc
You can find the repo here
https://github.com/techno-tim/k3s-ansible
Videos mentioned:
Ansible Setup Video
https://www.youtube.com/watch?v=w9eCU4bGgjQ
Proxmox Cloud Image Video
https://www.youtube.com/watch?v=shiIi38cJe4
Thank you to Jeff Geerling for the video clip and his work on Ansible + K3s!
https://www.youtube.com/watch?v=N4bfNefjBSw
Thank you for forking and adding kube-vip support to the k3s Ansible Playbook!
https://github.com/212850a/k3s-ansible
This will also be included in the documentation
https://l.technotim.live/docs
(Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
00:00 - Intro
00:58 - Micro Center Advertisement
01:49 - How Did I get here?
03:28 - What did I automate with Ansible and k3s?
04:23 - k3s Load Balancers and Architecture
05:58 - What is the architecture
06:06 - Creating machines
06:36 - Configuring Ansible Playbook
11:03 - Setting Hosts
11:34 - Running the automation
12:31 - Verifying the k3s install
13:31 - Deploying a workload to k3s
13:53 - Deploying a Service + Load Balancer
15:25 - Testing kube-vip and k3s control plane
16:31 - Tearing down k3s
17:15 - What problems did we solve?
18:09 - Stream Highlight - "If it's not DNS, it's a firewall rule"
#k3s #Ansible #OpenSource
"Mime Dance" is from Harris Heller's album "Arcade"
"Wrong Way" is from Harris Heller's album "DANSU"
"Sunday Pancakes" is from Harris Heller's album "Low-Key"
https://l.technotim.live/sb-music-license
Thank you for watching!