Setting up 3 node Kubernetes cluster version 1.22 from scratch, on Ubuntu instances

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

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

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

    That was awesome! i was struggling with the cgroup error for almost 2 days your video helped me resolve it.

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

    Great bro!.
    Once again with a great video.
    I have tried with many articles for onprem k8s installation but didnt the resolution of DNS discovery.
    Your videos helped me in resolving the issue.
    Thanks Again.

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

    thank you Vivek! spent a lot of time searching on how to fix the exact same error with the: kubelet isn't running or healthy.
    It worked after i modified the start command for docker as you hinted

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

    Thank you, the cgroup was "half" of my problems. I found that I also needed to run this command as well: `sudo swapoff -a && sudo sed -i '/ swap / s/^/#/' /etc/fstab && sudo reboot`. I found it on the internet somewhere, but I don't entirely know what it does. After running it, I finally got the kubeadm init to work like your video.

  • @SachinKumar-pr2os
    @SachinKumar-pr2os 2 года назад +1

    Great Explanation bro. It was awesome. Thanks a lot man. 😊

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

    Thanks Vivek this is a quick refresher for setting up the k8s cluster, please do a video on Networking in the future .

  • @RamRaj-vf4rx
    @RamRaj-vf4rx Год назад

    your master of k8s

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

      Haha, thank you.

    • @RamRaj-vf4rx
      @RamRaj-vf4rx Год назад

      @@viveksinghggits Vivek i have some issue adding master and slave node i can add token in slave node they didn't add and prefilte error happened what is the solution plse.
      Tell me

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

    I am trying to add Metallb as my load balancer but couldn't find out how can I get the IP Address range in the digital ocean

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

      Hi Aditya,
      I have not actually worked on metallb so unfortunately I am not sure how to resolve the problem.

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

    Superb

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

    Allah bless you. my problem solved with the help of your this video. once again thank yopu may Allah bless you

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

      Thank you for the kind words 🙏. I am glad it was helpful.

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

    Thank u very much.

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

    Very helpful. Are you planning on making an multi-master k8s cluster? I currently have a single master setup. Figuring out how to make it HA(with load balancer and all that suff). What would be the best way to do it? adding a new master into the existing cluster with load bal in b\w?(how!?) any recommendations?

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

      I have that video planned Prashanth, let's see when I can make that video.

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

      @@viveksinghggits alright will look out for it!

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

    [preflight] Running pre-flight checks
    [WARNING SystemVerification]: missing optional cgroups: blkio
    Above error show while initializing node , what should i do?

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

      Sir, problem solve hua.
      I was used Ubuntu 22.04 version so that it give some error. But using Ubuntu 20.00 it's working properly.

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

      Alright, thanks

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

    Kubernetes is at version 1.26 now. I wonder if there's any difference in setting up a cluster. I don't have Ubuntu instances. I have Amazon Linux 2 instances only (my company doesn't allow me to use Ubuntu, and the aws account I have cannot create EKS). I wonder if there's any video that suits what I have more than this one.

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

      Hi Ava,
      kubeadm is something that you should look at to install Kubernetes on those nodes. You can refer the commands from my Gitahub repo but can also try to find the respective command for your architecture.
      There are some other options to consider apart from kubeadm as well, like microk8s, k3s etc.

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

    I have changed docker cgroup to systemd, however my kubeadm still not work. It shows nodes not found somehow... I am struggling

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

      Hi,
      Can you share the exact error that you are getting.

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

      @@viveksinghggits Thanks for responding. I've fixed myself! All good.

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

    Can we attach external loadbalancer created in aws to the services in kubernetes cluster

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

      Hi Swamy,
      Why do you want to attach the external load balancer to a Kubernetes service?

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

    thank you

  • @denis-alexandruradu5433
    @denis-alexandruradu5433 2 года назад +1

    hello, great video! but i have o problem that is making me crazy.:
    [ERROR Port-10250]: Port 10250 is in use
    What do you think the problem might be?

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

      Hi Denis,
      Most probably the port is being used by other process. You can try to check which process is running on/using that port and you would get an idea if you can kill that process or not.

  • @HarpreetSingh-ti6bm
    @HarpreetSingh-ti6bm 3 года назад +1

    Awesome. I must say its a fantastic video for a novice like me who is new in the field of kubernetes. I have been through multiple blogs on the internet, however unable to find the solution of the cgroupd issue which you encountered as well. I appreciate you explaining with the demo of hitting an issue & then steps to resolve it as well. Thanks once again

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

    Fantastic explanation.. Really very helpful!
    While everything worked well for me, i m unable to access nginx using the IP Address. It says the site cant be reached. Can you please tell me where i m going wrong?

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

      Hi,
      Which IP address are you using to access the application?

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

    Thanks a lot great video...
    Can you make a video how to automate all this stuff using terraform?

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

      Thank you.
      I haven't actually worked much with Terraform so, I don't think it would be a good idea for me to create a video about that.
      Sorry.

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

    Hello Vivek plz told me how enable dashboard

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

      Hi Sonal,
      I don't have that on top of my head, maybe you can try to just look at the docs and try to figure that out.

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

    Vivek, this is awesome man. I have a suggestion, you've added those video you recommend that elaborate further on certain topics (like service discovery).
    Could you add them to the description as well? this way we can continuously immerse ourselves in your content :D

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

      Thanks for the suggestion Rajaseelan. I will add those links in the description.

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

    Very nice overview of the install process. This included one of the primary problems I had using Ubuntu and Kubernetes, and that is the docker cgroup driver. This tripped me up for about a week until I watched your video and immediately smacked my head against the keyboard for how silly it was to fix.
    Also; Is it possible to run a "apt list --installed" to list out what packages are installed in your droplets? Or provide any information on what packages are installed? I see some packages like etcd appeared to be pre-installed as part of the droplet server that would not be part of a bare-bones Ubuntu instance... I find myself wondering what else I should have as a basic config. Thanks.

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

      Hey 👋,
      Thanks Jason. I am pretty sure there should be something to figure out all the installed packages for a specific package manager. I don't know the command though.