Install MetalLB load balancer in Kubernetes

  Рет қаралды 26,707

VirtualizationHowto

VirtualizationHowto

Күн бұрын

Пікірлер: 54
@denkoech8712
@denkoech8712 Жыл бұрын
I like how simple and clear your videos are. Kindly do a video on persistent volumes
@maxjackson.7533
@maxjackson.7533 8 ай бұрын
Create a mysql database and it save everything there
@tonylangworthy5479
@tonylangworthy5479 Жыл бұрын
I'm an instant subscriber! You have a great teaching style, and you speak clearly. I came here because I also run a Kubernetes cluster in my home using Metallb, and I wasn't sure I had it configured properly.
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Awesome, thank you!
@muradmammed7839
@muradmammed7839 Жыл бұрын
I found the answer to my question, that I had for couple months now. Thanks. .. Now I have another one. :)
@dono42
@dono42 Жыл бұрын
Good walkthrough. However, please note that configuring MetalLB with ConfigMap is now deprecated. You should be using CRDs. The most basic L2 configuration with an IPAddressPool and L2Advertisement is sufficient for most use-cases.
@MrChrisk8er
@MrChrisk8er Жыл бұрын
How can I implement it?
@khairulamir9869
@khairulamir9869 11 ай бұрын
That's right. Today config for MetalLB must have IPAddressPool an L2Advertisement
@ronaldocorrea8007
@ronaldocorrea8007 2 жыл бұрын
Great!!! excellent video. thanks. I would like to see a video that explains more about keeping nodes using private IP addresses and services like load balancer using external public IP addresses.
@VirtualizationHowto
@VirtualizationHowto 2 жыл бұрын
Ronaldo, thanks for the ideas on future videos. I will definitely keep these ideas in mind for a future video, maybe even a series.
@oguzhanbenli
@oguzhanbenli 3 ай бұрын
Very good explanation and it is really done with great professionalism in practice. I will be very much pleased if you can you create a video about a WordPress implementation with persistent storage in Kubernetes using MetalLB and Nginx Ingress Controller
@adityahpatel
@adityahpatel 8 ай бұрын
Hi, great video. thanks. For a multi-node cluster with 5 Raspberry Pis, does MetalLB load balance across 5 nodes?
@Spelter
@Spelter Жыл бұрын
If we had made a drinking game with this video, we would all be dead. Every time you say "MetalLB" a shot. I will try to follow your video and use the new config of MetalLB though. My last cluster was with Beowulf on Solaris, now you know how old I am. New Cloud Tech is more or less what we did 20 years ago, but on crack :)
@sonergezgen8704
@sonergezgen8704 Жыл бұрын
Very Useful ! Thank you for the content. I was wondering if MetalLB also supports Windows Kubernetes Clusters. I didn't find anything on the internet.
@chrisumali9841
@chrisumali9841 Жыл бұрын
thanks for the demo and info, have a great day
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Thanks, you too!
@kilipsbyhades
@kilipsbyhades Жыл бұрын
Great video but, just a quick question.. you did not mention the cidr for the public ips in the yaml so how does this gonna work !!
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
kilips, thank you for the comment! There is actually a new way to deploy that now requires an IP address configuration AND a Layer 2 association now. In the Layer 2 configuration, Metal LB assumes the CIDR/subnet from the direct connection of the interface so as long as you earmark IPs from the network it knows about, there isn't a requirement to define the subnet.
@kilipsbyhades
@kilipsbyhades Жыл бұрын
@@VirtualizationHowto Thanks for the reply
@mecann1
@mecann1 2 жыл бұрын
It is amazing! Thank you for this clear explanation
@krunal4baps
@krunal4baps 6 ай бұрын
Hi, I have pfsense router at home and K8S bare metal running on ubuntu with 2 master 2 worker setup.. I configured BGP on pfsense and I am hoping it's good, the logs are showing the assigned LoadBalancer IPs but somehow I can't resolve them on browser... I tried multiple times but something somewhere missing, any clue where should I be looking at? I have External IPs assigned correctly on get service output and on pfsense. It does show external ip in BGP logs that the next hop if worker nodes but when I put them in browser, it's bad gateway!!
@whoiam7138
@whoiam7138 Жыл бұрын
Thank you for this video! It's realy very usefull!
@stephenokon3227
@stephenokon3227 Жыл бұрын
Hello Brandon, I followed the video but my metallb is not exposing the external IP address for testing. Please what should I do?
@claysonwillis9581
@claysonwillis9581 2 жыл бұрын
this is very helpful thx for sharing Brandon
@jorchard
@jorchard Жыл бұрын
Really useful, thank you!
@George-mk7lp
@George-mk7lp 12 күн бұрын
where does metalb takes public IP from ?
@telloasem
@telloasem Жыл бұрын
in real case scenario, where do you get those ip addresses? are those public ip of our servers?
@arunkushwaha8747
@arunkushwaha8747 7 ай бұрын
How it is different from ingress controller?
@MohamedHassan-cp3cn
@MohamedHassan-cp3cn Жыл бұрын
very useful thanks for the great video
@YoungfolkKnits
@YoungfolkKnits 2 жыл бұрын
Great video! Thanks! Subscribed!
@ThanhNguyenVan-ss7yy
@ThanhNguyenVan-ss7yy 2 жыл бұрын
hi Lee, I watched some other videos and see that we have other kind of implementation such as Metal LB with Kubernetes ingress controller. I dont know what different between them, why we need both?
@VirtualizationHowto
@VirtualizationHowto 2 жыл бұрын
Thanh, metal LB is a bare metal load balancer. It allows automatically provisioning IP addresses for Kubernetes services. An ingress controller like Traefik allows you to take care of SSL certificates and ingress routing. So, kind of like the host headers/bindings functionality in a traditional web server. It routes incoming requests based on the resource name/FQDN it is trying to access. Hope this helps!
@ThanhNguyenVan-ss7yy
@ThanhNguyenVan-ss7yy 2 жыл бұрын
@@VirtualizationHowto thanks so much
@jmmtechnology4539
@jmmtechnology4539 Жыл бұрын
Excellent video, thanks!
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Thank you JMMTechnology!
@iulian-casianmerce4122
@iulian-casianmerce4122 Жыл бұрын
great great great. Thank you
@EdsonOliveira-xg3bw
@EdsonOliveira-xg3bw 3 ай бұрын
Shouldn't we actually test the loadbalancer by accessing the service's exposed IP and port?
@RoulDukeGonzo
@RoulDukeGonzo Жыл бұрын
I'd like the cluster to use my LAN's DNS / DHCP server... is that possible?
@VirtualizationHowto
@VirtualizationHowto 10 ай бұрын
Thank you for the comment! Sign up on the forums and let's discuss: www.virtualizationhowto.com/community
@180doman
@180doman 2 жыл бұрын
Currently metallb manual has changed a bit and suggest to use kind: IPAddressPool and kind: L2Advertisement resources (at least for Layer 2 configuration). Is your tutorial still relevant?
@VirtualizationHowto
@VirtualizationHowto 2 жыл бұрын
180doman, yes you are right. I need to produce an updated video, as I had to change my processes as well for the newest versions of MetalLB.
@proyectowebsistemasve
@proyectowebsistemasve Жыл бұрын
Thanks excellent video
@erickishkov8101
@erickishkov8101 Жыл бұрын
hey Brandon, i running my k8s cluster VirtualBox, i did everything in your tutorial and eventually got my Nginx exposed with load balancer with IP address from my range BUT I can access the page on my host machine, all the port forwarding is configured etc., and yet don't have access.
@akashshinde3522
@akashshinde3522 5 ай бұрын
did you get the solution, I am facing the same problem
@hackerops1407
@hackerops1407 2 жыл бұрын
Hello actually while I am expose this load balancer ip on Google Chrome it's not working but while do curl in Linux cli it's show nginx page but not in web UI what could be the reason as my firewall already open for all traffic
@omar-zahid
@omar-zahid 2 жыл бұрын
Check your service. `kubectl describe svc nginx` and make sure there is an event from metallb-speaker with a message "announcing from node...". If its not there, you might have missed the `L2Advertisement` config. ``` apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: example namespace: metallb-system ```
@ilzammulkhaq8648
@ilzammulkhaq8648 Жыл бұрын
how if i want to using external IP (can access from internet) where should i attach it
@josemercado1674
@josemercado1674 Жыл бұрын
You are the !^@%& man bro!!!!!!! Excuse my french but man you made it so easy. Thank you and subscribed!
@RexAdamSy
@RexAdamSy Жыл бұрын
thank you! you save me :)
@VirtualizationHowto
@VirtualizationHowto Жыл бұрын
Glad it helped!
@e11y1985
@e11y1985 2 жыл бұрын
I host my kubernetes cluster on 5 remote bare metal servers with 3 Worker Nodes. So I need to place the public IP adresses of the worker in the metallb.yaml ?
@Mc-jl4jh
@Mc-jl4jh 2 жыл бұрын
Yes, but it's always good to have WAF firewall between your server and internet
@railerswim
@railerswim Жыл бұрын
Why does no one use the freaking helm chart in these tutorials?
@shanebond1975
@shanebond1975 2 жыл бұрын
Get rid of bg music plz !
MetalLB and NGINX Ingress // Setup External Access for Kubernetes Applications
10:41
Kubernetes Cluster in Minutes in VMware vSphere using Rancher
14:51
VirtualizationHowto
Рет қаралды 45 М.
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 34 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 3,5 МЛН
[ Kube 33.1 ] How to deploy & use MetalLB in bare metal Kubernetes
12:30
Just me and Opensource
Рет қаралды 43 М.
NixOS is Mindblowing
12:02
Chris Titus Tech
Рет қаралды 722 М.
Kubernetes home lab on an old computer
15:45
Sidero Labs
Рет қаралды 63 М.
MetalLB : Adding the LoadBalancer service to Kubernetes
6:00
Loft Labs
Рет қаралды 1,9 М.
Metallb
27:48
Артур Крюков
Рет қаралды 8 М.
k0s vs k3s - Which is best for home lab?
14:20
VirtualizationHowto
Рет қаралды 34 М.
Using *HA* Kubernetes at home, was never so simple!
32:14
Christian Lempa
Рет қаралды 173 М.
Easy K3s Kubernetes tools WITH K3sup and Kube-VIP
14:40
VirtualizationHowto
Рет қаралды 9 М.
[ Kube 31 ] Set up Nginx Ingress in Kubernetes Bare Metal
30:17
Just me and Opensource
Рет қаралды 72 М.