HA K3s with etcd, kube-vip, MetalLB, and Rancher!
ARR You Getting MRR
0:00 / 0:00
HA K3s with etcd, kube-vip, MetalLB, and Rancher!
20 932 просмотра · 5 лет назад
ARR You Getting MRR
5,84 тыс. подписчиков
20 932 просмотра · 5 лет назад
High availability Kubernetes is easy to get wrong because you need so many different layers to be HA. The control plane. The data plane. The load balancer. If you're using K3s in a place where you don't have lots of nodes, like a homelab or an edge environment, you want to get the most out of nodes without adding in complex solutions like keepalived, VRRP, or external load balancers.
This video will use kube-vip for load balancing the Kubernetes control plane, MetalLB for load balancing Kubernetes services (because kube-vip in hybrid mode wouldn't announce addresses), the embedded etcd for an HA Kubernetes datastore, all for giving Rancher a secure place to run.
There are some surprises that we'll work around, like incorrect documentation and tolerations that don't work with taints. These are just part of being a Kubernetes administrator, so grab your Terminal session and let's build a K3s cluster in just a few minutes.
GIT REPO: https://gitlab.com/monachus/channel
0:00 - Intro
0:57 - What's K3s?
1:55 - When Do You Need HA?
3:09 - How Does HA in Kubernetes Work?
4:26 - Two Options for HA in K3s
5:06 - The Final Piece: A Load Balancer
6:25 - Putting It All Together
7:15 - Installing K3s with Kube-VIP
8:32 - Kube-VIP RBAC and DaemonSet
11:34 - Installing MetalLB
13:04 - Why Can't We Reach Traefik?
13:49 - Fixing MetalLB's Toleration
14:40 - Installing Rancher
15:19 - Using Rancher's Helm Controller
16:18 - Conclusion and Next Steps
LINKS:
K3s: https://k3s.io
kube-vip: https://kube-vip.io
MetalLB: https://metallb.org
Rancher: https://rancher.com
=====
Want to support what I do?
MY GEAR: https://llb.io/xxcim
Let's Connect!
COMMUNITY: https://community.cncn.io
DISCORD: https://llb.io/discord
TWITTER: @adriandotgoins
INSTAGRAM: @adriandotgoins
LINKEDIN: / adrian-goins
Some of these links are affiliate links. If you buy something through them, I may receive a small commission. This doesn't change the price of what you purchase, but it helps me continue to make the content that you want to see. Thank you for your support!