[ Kube 33.1 ] How to deploy & use MetalLB in bare metal Kubernetes

Поделиться
HTML-код
  • Опубликовано: 2 янв 2021
  • In this video, I will show you how to deploy and use MetalLB in your Kubnernetes cluster for load balancing solution.
    Metallb:
    metallb.universe.tf/
    Learn Kubernetes Playlist:
    • Learn Kubernetes
    MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols.
    Hope you enjoyed this video. Please share it with your friends and don't forget to subscribe to my channel. For any questions/issues/feedback, please leave me a comment and I will be happy to help.
    Thanks for watching.
    If you wish to support me:
    www.paypal.com/cgi-bin/webscr...

Комментарии • 192

  • @CrankyCoder
    @CrankyCoder 3 года назад +2

    Thank you for doing this one!! I have been using metallb for awhile and love it :)

  • @tonylangworthy5479
    @tonylangworthy5479 2 года назад +1

    I just started with this video, and I'm an instant subscriber! It looks like you have some great stuff. Thank you!

    • @justmeandopensource
      @justmeandopensource  2 года назад

      Hi Tony, many thanks for watching and subscribing. Much appreciated.

  • @learn3630
    @learn3630 3 года назад +3

    Was looking for easy solution for Rancher 2.5.8. Works perfect. Good explanation. Go on!

  • @apolloeosphoros4345
    @apolloeosphoros4345 Год назад +1

    Wow, nice. Metallb up and running from scratch in 15 minutes! Thanks heaps!

  • @joaomarcosmaretocalado
    @joaomarcosmaretocalado 3 года назад +3

    Hello from Brazil. That is the best video I've watched for onpremise kubernetes. Keep the good work.

  • @Organicnz2
    @Organicnz2 3 года назад +2

    Another beautiful explanation. Thank you very much, mate :)

  • @melbruki
    @melbruki Год назад

    3 days of sweating ballz finally got it working after watching this video. Thank you!

  • @silverismoney
    @silverismoney 2 года назад +17

    Thanks for this. MetalLB is perfect for home / lab use. All the demos on kubernetes show you how to use ingress controllers but assume you're on a cloud provider, thanks for showing us the bare metal version , works great! Great video.

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      Hi Matt, Thanks for watching.

    • @premierde
      @premierde Год назад

      MetalLB is also very suitable for production based cluster too.

    • @user-uq7ff9mt5t
      @user-uq7ff9mt5t 2 месяца назад

      ​@@premierde Can you please explain me how?

  • @praveenkore842
    @praveenkore842 Год назад +1

    best video in entire youtube for metallb i.e. on premise load balancer thanq for your efforts.

  • @deepdeep4629
    @deepdeep4629 2 года назад +1

    best video ever as always from you ! well done

  • @hotice345
    @hotice345 Год назад +1

    love you dear very easy and smoothly understand the things
    i have many try to understand the things but
    when i reach on yours videos my all things are cleared

    • @justmeandopensource
      @justmeandopensource  Год назад

      Hi Fareed, thanks for watching and I am so glad to hear that you found it useful. Cheers.

  • @onlyautomation1420
    @onlyautomation1420 3 года назад +1

    Hello from india. This is awesome channel for k8s. Keep up the good work

  • @I3ull37
    @I3ull37 3 года назад +3

    Thanks for this quick and thorough intro into MetalLB, actually got it running like you did and this solved some mysteries for me about networking load-balancing for k8s. Cheers!

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Thanks for watching.

    • @cainjad9434
      @cainjad9434 2 года назад

      i realize I am kinda off topic but do anyone know of a good place to watch new tv shows online ?

    • @matiastrevor6855
      @matiastrevor6855 2 года назад

      @Cain Jad Flixportal =)

    • @cainjad9434
      @cainjad9434 2 года назад

      @Matias Trevor thank you, I signed up and it seems to work :) I really appreciate it!!

    • @matiastrevor6855
      @matiastrevor6855 2 года назад

      @Cain Jad Glad I could help =)

  • @kingskazer
    @kingskazer 3 года назад +7

    You're a lifesaver man.
    I've been struggling to config my client's baremetal cluster with ingress controller and cert manager. I follow the instructions on this and the next video, now the cluster is finally finished. Thank you once again.

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Hi Diffa, thanks for watching and I am so glad that it helped you. Cheers.

    • @hippolyteasah4341
      @hippolyteasah4341 3 года назад +1

      any video for this ? ingress controller and cert manager

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      @@hippolyteasah4341 cert-manager video is here ruclips.net/video/Hwqm1D2EfFU/видео.html

  • @jimchisholm2433
    @jimchisholm2433 Год назад +1

    Well done. I had no success wil Metallb before watching this video. Thank You !

    • @justmeandopensource
      @justmeandopensource  Год назад

      Hi Jim, thanks for watching.

    • @jimchisholm2433
      @jimchisholm2433 Год назад

      @@justmeandopensource yes metallb is up and running but I still have no idea how to integrate it into my cluster for HA. My setup is looking for a proxy to connect to on port 6443.

  • @orabuntu-lxc3389
    @orabuntu-lxc3389 2 года назад +1

    Excellent video!

  • @jf7719
    @jf7719 2 года назад +1

    It made my day ! Cheers

  • @jubinkuriakose
    @jubinkuriakose 2 года назад

    Thanks a ton! really helped me out here and subscribed!

  • @ekhdemo5516
    @ekhdemo5516 2 года назад +1

    That is really helpful.. excellent work

  • @abhishekbhati4334
    @abhishekbhati4334 2 года назад +1

    Awesome tutorial... Excellent.

  • @jeremiepayet5979
    @jeremiepayet5979 3 года назад +1

    Super necessary! Thank you.

  • @mingweihu1328
    @mingweihu1328 3 года назад +2

    Thanks for the real good tutorial !!

  • @hieunguyenofficial9497
    @hieunguyenofficial9497 2 года назад +1

    Thanks for this great video.

  • @MohammedNoureldin
    @MohammedNoureldin Год назад +1

    Thanks a lot! Great explanation!

  • @x13years
    @x13years 2 года назад +1

    that was pretty cool; thank you

  • @smokzpolski
    @smokzpolski 2 года назад +1

    Just WOW! Thank you!

  • @cliffainsworth258
    @cliffainsworth258 3 года назад +1

    Thanks for this one another great video - I was planning on giving MetalLB a try after seeing earlier video and have now run through it. I had to edit the kube-proxy config map to add the true entry for ARP. Had to do a bit of a Google to work out if that config automatically got applied, seems it doesn't and wasn't sure what method to use so deleted the individual kube-proxy pods and let K8s recreate them again presumably using the new config. It worked anyway :) I'm hoping to combine this with the NGINX ingress, using LB to expose the Ingress next - (hint for another video ;) Thanks again.

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Hi, many thanks for watching. Hope you are having great time with this setup and exploring further. I don't have enough time to dive deep into each of the topic.

  • @sahaniarunitm
    @sahaniarunitm 3 года назад +1

    Once again great

  • @schoolbook1
    @schoolbook1 3 года назад

    Another working tutorial from k8s master. :-)

  • @papillon8i845
    @papillon8i845 Год назад +2

    Thank you. The config has changed as of v1.25 for client and server. They now show 1 metallb.yaml and 2 configs for ipaddresspool where you define the pool then l2advertisement where you publish the pool by name. I taught myself 6502 assembly on the Apple II when I was 10 and have been going ever since. I appreciate your verifying each step so I can make sure everything is as expected. Even with lots of experience, this is a complicated system to grok. Most importantly, I learned about figlet and neofetch. ;) Hackers of the world, unite!

    • @justmeandopensource
      @justmeandopensource  Год назад

      Haha. I am glad that you liked it and found something useful. Thanks for watching. Cheers.

    • @palanikumar4150
      @palanikumar4150 2 месяца назад

      Do we need to add ConfigMap separately if metallb installed using helm. I have done helm metallb installed and added ipaddresspool and l2advertisement only

  • @amitpawar1677
    @amitpawar1677 2 года назад

    Thanks Sir.. Very nice video

  • @antonythilagar9532
    @antonythilagar9532 3 года назад +2

    Thanks Anna for sipcalc and w3m also for video 🙏

  • @ulftroppens4806
    @ulftroppens4806 2 года назад +1

    Thanks for sharing.

  • @Bargains20xx
    @Bargains20xx 2 года назад +1

    boom! got it to work

  • @kelvinchow3663
    @kelvinchow3663 7 месяцев назад +1

    You are so great

  • @luckylatorre4917
    @luckylatorre4917 2 года назад

    First of all, thank you for all your life saving videos! Just wanna ask if you have a video as well on how you set up the machine containers you used for this cluster? thanks and more power!

  • @shapedthought
    @shapedthought 2 года назад +1

    Thanks a bunch

  • @JoaoPaulo-su1dt
    @JoaoPaulo-su1dt 3 года назад +1

    very good!

  • @jayadevpentapati1091
    @jayadevpentapati1091 3 года назад +1

    God of Kubernetes 🙏

  • @user-uw7st6vn1z
    @user-uw7st6vn1z Год назад +1

    Bro you look so cute and smart at same time!

  • @adrianfgutierrez2836
    @adrianfgutierrez2836 3 года назад +1

    Excelent

  • @drharpreetsekhon8554
    @drharpreetsekhon8554 3 года назад

    Thanks for the video. Can I change the listening port of MetalLB to 9090 instead of 80?

  • @srinivasanramu989
    @srinivasanramu989 2 года назад

    Hi sir, Thank you for this excellent content. I was able to install MetalLB on my bare metal k8s cluster successfully and expose a Load Balancer service. I can also access my spring boot using external ip and port number from my browser on my localhost machine. But however when I try to access the load balancer external ip from outside my home internet network, I cannot reach my application. Could you please let me know on what should I do to make my app accessible world wide?

  • @joakimh2371
    @joakimh2371 3 года назад +2

    Thank you for the excellent explanation. Are you planning any videos about Windows worker nodes in kubernetes?

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Hi Joakim, thanks for watching. Yes I have that in my list for so long. But I need Windows server license to try that. I will give it a try soon though.

  • @YusufKhan-ep8ds
    @YusufKhan-ep8ds 2 года назад

    Hey Venkat,
    Thanks for the video. It's really very helpful. I Just got one problem while practicing this tutorial. while doing w3m . I am getting an error like "w3m: Can't load ". Could you please help me out with this. Thanks in advance

  • @pareshpatel493
    @pareshpatel493 3 года назад

    Totally new question, can you please tell me hot to fix if your Kube-Proxy Pod shows CrashLoopBackOff error in kube-system namesapce?

  • @GopalYadav-bc1cw
    @GopalYadav-bc1cw 3 года назад

    Hi, its a very nice video, I created my cluster using "KinD" on My Laptop (along with Docker for Desktop on windows) and followed the instructions to create Metallb and its configmap but the external-ip for the ingress service was still showing . Can you confirm if this video is applicable for KinD environment as well ? My requirement is I need to create a multi-node cluster with the ingress service installed and want to assign a DNS to the ingress. Please let me know how to achieve it, Many thanks..

  • @HG-mt3vl
    @HG-mt3vl 3 года назад

    How can we make sure that the router does not over write these ? Can you please explain it in a scenario where we are a home user running behind simple router and we have say 3 node cluster and an ip range where dhcp is handled by router

  • @sabareesanmahadhev4541
    @sabareesanmahadhev4541 3 года назад

    Hi Venkat Thanks for the video!. I have one issue. i cannot a able to access the external ip (Load Balancer) assigned for ngnix service outside of the VM centos 7 .(i.e like type node port) i cannot able to access this IP in chrome browser outside the VM.
    But inside the VM i can access using wget and curl.
    Can you please guide me this?

  • @r.h.u.k.a
    @r.h.u.k.a 3 года назад +3

    Amazing video, thanks for that. Let me ask smth. You've used a range of 10 IPs on the Metal LB configuration, this means that if I expose more than 10 services I need more IPs on the configuration?

    • @justmeandopensource
      @justmeandopensource  3 года назад +3

      Hi Rhuan, thanks for watching.
      Yes depending on the number of services, you need to allocate segment of your network to it.

  • @yetanother7754
    @yetanother7754 3 года назад

    Is there a way to acquire IPs by DHCP .. instead of predefining them ?

  • @StRyKeReYe
    @StRyKeReYe Год назад

    Hello, thank you for the Great Video. I have a question, what Terminal with suggested cli completion are you running?

  • @reikisponge
    @reikisponge Год назад

    I'm testing a k8s cluster with nginx ingress controller. i use another vm with haproxy to route traffic to worker nodes 80/443. Is metal LB the way to allow the same IP but with additional ports instead of 80/443?

  • @jamilshaikh07
    @jamilshaikh07 3 года назад

    How to expose metallb on different port than 80? Like 8080,8090?

  • @anusree114
    @anusree114 2 года назад

    @Just me and Opensource, how can we set up metallb on macOs ? though the steps mentioned here creates the External IP for service, the network issue with Docker and Mac/Windows is causing the issues.

  •  Год назад

    I have followed your video to the very point...got everything running, thanks for sharing your knowledge.
    However, I've got some issues accesing the nginx outside the kubernetes, meaning, when i'm setting up the cluster and nginx, i'm on the server via ssh session.The app is deployed, exposed however from my machine (the same network) is the assigned external-ip inaccessible. Can you point me to the right direction ? Thanks.

  • @hippolyteasah4341
    @hippolyteasah4341 3 года назад +2

    nice video, clear and consistent... any propose solution for the error
    pod/speaker-5kn4b 0/1 ImagePullBackOff

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      HI Miki, thanks for watching. Imagepullbackoff is usually because the node can't pull the image due to some networking issue or the image doesn't exist or the tag you are using for the image doesn't exist or if you are pulling from a private registry, the credentials doesn't work. Do a kubectl describe pod and see events section in the output. You might get a clue.

  • @yashhirulkar909
    @yashhirulkar909 2 года назад

    sir, I am able to access the content inside cluster using curl command but unable to access outside cluster in browser. what to do ?

  • @rezajafari5348
    @rezajafari5348 Год назад

    👍🏿

  • @chicagoland9449
    @chicagoland9449 6 месяцев назад

    If I have 3 vm with virtualbox, is there a posibility to open the external link in the browser of the host? Or it is possibly only un kmaster vm? Thank you!

  • @jmccoy555
    @jmccoy555 3 года назад +1

    Nice video and nice desktop / terminal setup..... any details on that please?

    • @justmeandopensource
      @justmeandopensource  3 года назад +3

      Hi Thanks for watching. My setup is on an Arch Linux with I3 Tiling Window manager and Zsh shell with zsh-autosuggestions and zsh-syntax-highlighting plugin.
      I have done some videos on I3 which mimic my desktop setup and uses Ansible to do the configuration and setup automatically. Hope it still works.
      ruclips.net/p/PL34sAs7_26wOgqJAHey16337dkqahonNX

  • @magrag1987
    @magrag1987 3 года назад +1

    Thanks for the video 👍, can you do a video on harness. Can be used to deploy in kubernetes cluster and also helm can be integrated.please look in to it.

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Hi Raghu, thanks for watching. I will certainly add it to my list. I have lot other topics in the pipeline requested by viewers that I have to go through in order. Cheers.

    • @magrag1987
      @magrag1987 3 года назад

      @@justmeandopensource sure, do u also train?! I mean not on RUclips:)

  • @preethipy
    @preethipy 2 года назад

    Hi, I just did a deployment on my baremetal server using the tutorial. The difference is that I am using IPV6 addresses.IPV6 address assignment went through well. I am able to ping the external IPV6 assigned for the app from all the nodes and externally too. however, I am not able to access the IPV6:80 port using curl command from anywhere except the node on which the docker container actually running. For example, for node1 and node2 if my pod was deployed on node2, I am able to ping the app from node1 and node2 and externally too but curl -I ipv6:80 works only from node2 and nowhere else.. I dont have any firewall rules.

    • @abrakidabra
      @abrakidabra 2 года назад

      Firstly, try with square brackets around ipv6 address if you are using curl. Secondly ensure you are using global ipv6 address. Ifconfig in your system would reveal global or local.

  • @bhargavsharathkumarjillepa1479
    @bhargavsharathkumarjillepa1479 3 года назад +1

    Thank you for doing this,
    its is very useful
    I'm learning kubernetes based on your tutorial.
    I have a problem in my setup.
    We have a VM from CtrlS VM service provider.
    Only master node.
    Installed kubernetes which is going file.
    installed metallb as per this tutorial it seems fine,
    metlallb is assigning external ip but when I try to access that ip using
    curl says no route to host
    ping says Destination host unreachable
    Could you help me out please?

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      HI Sharath, thanks for watching. In order to use Metallb, you have to have the control of the network. The metallb ip range you specify must be part of the network where you have the kubernetes nodes.
      What is your kubernetes master IP and what range you specified in metallb config?

  • @udayalwala3859
    @udayalwala3859 3 года назад

    1. hi venkat..your videos are awsome.i have a query..I created 3 vms in aws cloud and installed kubernetes cluster with calico network...I tried to create a nginx deployment and expose it as type Loadbalancer then the status is showing pending for loadbalancer ip...cloud provider not provided loadbalancer ip.
    then i installed mettalb in that cluster...the problem is that metallb takes only private ips from the pool of ips in the subnet...is there any way to get public ip for the loadbalancer for getting accessed anywhere from internet....
    2. in dns entry it is not possible to map private ip to the url any alternate to metallb which provides public ip
    3. or else how to access get external ip for loadbalancer in onpremise kubernetes cluster so that it can map to dns entry and access anywhere...

  • @mostafaelmenbawy5473
    @mostafaelmenbawy5473 3 года назад

    How can I obtain a range of public IPs to accessed from the browser?

  • @chbhc00
    @chbhc00 3 года назад +1

    Hi, thanks for the video! I have one question, are you able to ICMP ping the LoadBalancer IP addresses after they are assigned to the service? Like in your example 172.16.16.240/241? For me everything is working as I am able to see the default nginx page with curl/browser, but when I tried to ping, I am receiving something like:
    # ping 172.16.16.240
    PING 172.16.16.240 (172.16.16.240) 56(84) bytes of data.
    From 172.16.16.102: icmp_seq=2 Redirect Host(New nexthop: 172.16.16.240)
    Thanks!

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Hi, thanks for watching. You won't be able to ping that load balancer IP which is expected and by design. Same is the case for any service with Cluster IP.

    • @chbhc00
      @chbhc00 3 года назад

      @@justmeandopensource Thanks for the clarification!

  • @briansellden6115
    @briansellden6115 3 года назад

    Hi - Nice video :) I'm using audio only... Any chance you can drop the commands you used somewhere?

  • @gogetalover
    @gogetalover 2 года назад

    1:50
    Is there anyway we can map a know IP address here. Let's say I use a DNS provider and I have 2 IP addresses allocated to me, is there anyway I can use those IP's instead of having to setup a Bare metal LB?

  • @TrungNguyen-ul9qo
    @TrungNguyen-ul9qo Год назад

    I'm wondering why we have to use metallb, could we configure the external IP manually?

  • @hanumaadabala9541
    @hanumaadabala9541 2 года назад +2

    I have set up the Metal lB in aws ec2-instanse(redhat 8) and external ip also came , but it does not expose the application in outside using that external ip and added the ports in security group as well . could you please help me how to resolve that issue

    • @justmeandopensource
      @justmeandopensource  2 года назад

      It has been stated in the official Metallb documentation that it is not supported in AWS. MetalLB can hand out IP address from the range you have configured without any issues but the networking won't work in the cloud.

    • @hanumaadabala9541
      @hanumaadabala9541 2 года назад +1

      Thanks for replay .I have watched your kubernetes videos and helped me a lot . Apart from cloud where we can easily setup the kubernetes ,metal lb and ingress?

    • @justmeandopensource
      @justmeandopensource  2 года назад

      @@hanumaadabala9541 Apart from the cloud you can set up a cluster in your local computer or laptop if you have a descent machine.

  • @sonaliprasad2225
    @sonaliprasad2225 2 года назад +1

    Another awesome video :) Thank you for the clear explanation. Could anyone please let me know which ssh terminal is being used in this session that auto-populates the commands as well.

    • @justmeandopensource
      @justmeandopensource  2 года назад +3

      Hi Sonali, thanks for watching. I used Zsh with zsh-autosuggestions plugin on my linux workstation. I did a quick demo of my terminal setup in this video.
      ruclips.net/video/PUWnCbr9cN8/видео.html
      Cheers.

    • @sonaliprasad2225
      @sonaliprasad2225 2 года назад +1

      @@justmeandopensource Thank you for the quick response .

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      No worries.

  • @ahmedhabib6131
    @ahmedhabib6131 3 года назад +1

    Thank you so very much! That was very clear. Do you have a video on how to install calico on the same setup? I want to use the configuration that is not the basic and offers the inscription? I am using ubuntu 20.04 help please?

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Hi Ahmed, I used calico in my environment. Once you provisioned your kubernetes control plane, its just a matter of applying calico manifest as their documentation says.
      I am not sure if you are aware of my vagrant provisioning script.
      ruclips.net/video/AoEWX84h_ig/видео.html
      I used Ubuntu 20.04 VMs and kubeadm method to provision cluster and calico on top of it.

    • @ahmedhabib6131
      @ahmedhabib6131 3 года назад +1

      Thank you so much for the help!

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      You are welcome.

  • @tan3ryigit
    @tan3ryigit 2 года назад

    ok. I have installed metal lb in 10.3 it was not working. then downgraded to 9.6 worked. but not assigned external ip. after several hours i give up on metallb completely and go with trafiek alone using cluster ips i hope.

  • @user-cr6ge7yk8o
    @user-cr6ge7yk8o Год назад

    i am using single node cluster .... unable to use the metallb... please help

  • @pavankonakanchi3104
    @pavankonakanchi3104 3 года назад +1

    Hi Very nice tutorials..
    I have a requirement that i wanted to setup the kubernetes cluster in cloud with self managed to simulate on-prem now if we required load balancer which IP range i can provide here ? Private IPs are managed by Cloud Provider digital ocean.

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Hi, thanks for watching. MetalLB is purely for on-prem setups where you control the network range. It won't work in the cloud. I haven't tried, but you could take a look at kube-vip project.

  • @sammcooley
    @sammcooley 3 года назад +1

    This is a very good walkthrough. On the first time around, I was able to get metallb running smoothly thanks to your video with the documentation provided by MetalLB, however upon attempting to do the same thing on another cluster (4 node, bare metal, different range of IPs on these machines), I am not able to gain access once the service exposes nginx.
    I used sipcalc on the master node in my cluster and then used the last ten ip's in the range that it provided. I'm not sure if I'm doing things wrong here, do you have any advice on where to look for the usable range?

    • @sammcooley
      @sammcooley 3 года назад +1

      My kubernetes nodes have a wide variety of IP addresses, and they are not consecutive or close to one another. How does this affect the way I can assign IP addresses to it?

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      @@sammcooley I have noticed it sometimes but can't explain the behaviour. But majority of the times it works as expected. I have noticed this especially when running kubernetes clusters in docker containers where I don't control the ip assignment of the kubernetes nodes. But in my vagrant environment (172.16.16.0/24 network), i use the range 172.16.16.240-172.16.16250 as the metallb range and it works consistently.

    • @sammcooley
      @sammcooley 3 года назад +1

      @@justmeandopensource I've managed to get it going by choosing a much wider range of assignable IPs. One question for you: the created loadbalancer service (by using imperative expose command), what's the best way to get SSL for the loadbalancer IP?

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      @@sammcooley You can achieve that with Lets encrypt and Ingress.
      May be you can watch my recently released Traefik v2 video series, where the third video is all about SSL (with MetalLB).
      ruclips.net/p/PL34sAs7_26wNldKrBBY_uagluNKC9cCak

  • @Ram0286
    @Ram0286 3 года назад

    can you add additional ip pools into the configmap files?

    • @LampJustin
      @LampJustin 3 года назад

      Sure can :) you might have to rescale the pods for it to take affect ;) ( kubectl scale -n metallb-system deploy *the name* --replicas=0 ) Or just delete the pods :P

  • @cenubit
    @cenubit 3 года назад

    How is this different from 33.0 ?

  • @budimanjojo4456
    @budimanjojo4456 3 года назад +1

    Hello, I'm currently learning kubernetes and planning to migrate my home media server from docker compose to k8s. I will use metallb to expose my traefik load balancer. I want to know if metallb will preserve that IP address on deployment restart. Because I will port forward my port 80 and 443 to the internet, technically I just portforward that port to the IP address from metallb right? If I restart my traefik deployment, I will get the same IP address? Because it will be very weird if I need to keep modifying my router portforward 😅

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Hi, thanks for watching. Basically you are not changing the service and only changing the deployment by redeploying it. The service will remain the same and you will continue to use the same load balancer IP. If you delete and recreate the service you may get a different ip address.

    • @budimanjojo4456
      @budimanjojo4456 3 года назад +1

      @@justmeandopensource Oh got it thank you 😊
      If I don't delete the service, but maybe I edit / update the service, will Kubernetes be smart enough to recreate it with the same address?

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      Just asking, if you were to update the service, what would you update in it?

    • @budimanjojo4456
      @budimanjojo4456 3 года назад +1

      @@justmeandopensource I don't know actually, just wondering 😝. Because I'm still waiting for my parts for the proxmox machine that I'll be using for k8s (so I'm basically still in near zero experience). As I said before, I'm just in planning mode and there are so many questions that I've got. Sorry for asking stupid questions 😅

    • @justmeandopensource
      @justmeandopensource  3 года назад +1

      No worries.

  • @nagachaitanyab3363
    @nagachaitanyab3363 3 года назад +1

    Will metallb work on VMware as well?
    And It was a great video. Thanks. 🙂

  • @lyminhthanh2008
    @lyminhthanh2008 3 года назад

    Guys can you setup ingress geoIP? Sample: retrist country for a ingress domain.

  • @kishore90088
    @kishore90088 2 года назад +1

    Hey did you provide any training on k8

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      What do you mean? Other than posting k8s related videos weekly in this channel I don’t do any training outside. Cheers.

  • @buddhazhou
    @buddhazhou 2 года назад +1

    since Version 0.13.2, the configmap is not supported anymore , changes a lot.

    • @justmeandopensource
      @justmeandopensource  2 года назад

      Hi, thanks for watching. Not sure where you read about configmap not being supported. I have tried this method recently and found working flawlessly. Cheers.

  • @oscarcalles6559
    @oscarcalles6559 3 года назад +1

    Dear Venkat, thank you for all your videos, github
    I notice your use the Virtualbox vboxnet0 as a private DHCP server on 172.16.16.0/24
    to provide IPs to cluster nodes, metallb and nginx deployments
    I am using Ubuntu server 20.04 to follow this video and the default config after Virtualbox installation for vboxnet0 DHCP is 192.168.56.0/24
    but the host-only interface vboxnet0 was not created and can not see on: ip a s
    I do this:
    VBoxManage hostonlyif create
    VBoxManage hostonlyif ipconfig vboxnet0 --ip 172.16.16.1
    VBoxManage dhcpserver modify --ifname vboxnet0 --ip 172.16.16.1 --netmask 255.255.255.0 --lowerip 172.16.16.2 --upperip 172.16.16.254
    VBoxManage dhcpserver modify --ifname vboxnet0 --enable
    Check changes with:
    VBoxManage list dhcpservers
    VBoxManage list hostonlyifs
    Cheers

    • @justmeandopensource
      @justmeandopensource  3 года назад +2

      Hi Oscar, thanks for watching. You don't have to create the 172.16.16.1/24 network yourself for VirtualBox. When you start the environment with my vagrant setup, the network will automatically be created.

  • @lachopaez3080
    @lachopaez3080 3 года назад +1

    What version of calico are you using?

  • @injuriousentertainment6642
    @injuriousentertainment6642 3 года назад +1

    Can u plz add a video on kubespray cluster creation with cre other than docker

  • @melbruki
    @melbruki Год назад +1

    what auto completion tool do you use

    • @justmeandopensource
      @justmeandopensource  Год назад +1

      Thanks for watching. I use Zsh shell with zsh-autosuggestions plugin for that auto completion. Cheers.

  • @julianomoraisbarbosa
    @julianomoraisbarbosa 3 года назад +1

    keep walking !!!

  • @_Mackan
    @_Mackan Год назад

    Still not getting any external ip.

  • @nikhildevsadasivan8557
    @nikhildevsadasivan8557 2 года назад +1

    sir, can u upload latest video of the metallb, this tutorial not working in version 1.23.0

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      Sure I will re-test this and if thats the case I will upload a latest video. Cheers.

    • @nikhildevsadasivan8557
      @nikhildevsadasivan8557 2 года назад +1

      @@justmeandopensource metallb not providing ip when i install with latest, that is the issue

    • @justmeandopensource
      @justmeandopensource  2 года назад +1

      @@nikhildevsadasivan8557 How is your kubernetes cluster provisioned? On virtualbox VMs or cloud VMs?

    • @nikhildevsadasivan8557
      @nikhildevsadasivan8557 2 года назад +1

      @@justmeandopensource i'm using Virtual box. anyway it is working now after i downgraded to 1.8.5. before it was 1.23

    • @justmeandopensource
      @justmeandopensource  2 года назад +2

      @@nikhildevsadasivan8557 Cool.