Day 27/40 - Setup a Multi Node Kubernetes Cluster Using Kubeadm

  Рет қаралды 8,183

Tech Tutorials with Piyush

Tech Tutorials with Piyush

Күн бұрын

Пікірлер: 107
@ajonie.a6136
@ajonie.a6136 Ай бұрын
I cannot thank you enough for making these tutorials free. I must say your k8 series is a literal gold mine. Its commendable that you are not editing out the mistakes but rather walking us through your approach to troubleshooting. Thank youuuuuuuu
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Thank you so much buddy for the kind words! Yes, hiding mistakes would create unnecessary confusion and limit the learning process, if we are doing hands-on, mistakes are bound to happen, we have to find the issue and fix it, that's all that matters
@ashlok_chaudhary
@ashlok_chaudhary Ай бұрын
It's truly the best learning experience to configure so many things, connect them seamlessly, and troubleshoot any errors that arise. Thank you so much for such a detailed video and this wonderful free series!
@saadahmed3581
@saadahmed3581 4 күн бұрын
Thank you very very very much,, I wasted 28 hours continuously to setup on ARM64 system, and you just saved me. Take love
@TechTutorialswithPiyush
@TechTutorialswithPiyush Күн бұрын
Glad it helped :)
@harshgupta5113
@harshgupta5113 Ай бұрын
Damn, this gave me so much insights. For me the most important part was the troubleshooting of the worker node not able to run the kubectl command. I remember facing this issue in my company but my colleague solved it for me. I asked him on how he did it but I couldn't get it in my head. Your explanation was so simple and effective and now I completely understood the concept. Thank you very much bro.
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Awesome bro! Now next time you show him how it's done!
@kyawzawaung3712
@kyawzawaung3712 5 ай бұрын
Thank you very much for giving this quality content free.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
It's my pleasure
@VijayPolsani
@VijayPolsani 5 ай бұрын
Appreciate all your hard work and thinking out loud while configuring
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thank you
@bhanubisht8
@bhanubisht8 15 күн бұрын
Completed the video....!!!!!!
@abc-edm
@abc-edm 2 ай бұрын
thanks Piyush, nice video with rich info with live troubleshooting ...
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Glad it was helpful!
@the_hustling_wanderer
@the_hustling_wanderer 3 ай бұрын
Thanks Piyush for the wonderful video
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
You're welcome
@eapenmani
@eapenmani 5 ай бұрын
Great Learning .Thank you!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
welcome 🙂
@chiranjeevisundarasetty2240
@chiranjeevisundarasetty2240 9 күн бұрын
Learned allot from this video thank bro
@TechTutorialswithPiyush
@TechTutorialswithPiyush 8 күн бұрын
You're welcome, Keep practicing!
@varunjoshi4410
@varunjoshi4410 2 ай бұрын
Thank you, this was helpful.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
kind.sigs.k8s.io/docs/user/ingress/
@GrigTech
@GrigTech 3 ай бұрын
Like and comment, thank you for work you have done, great learning tutorial.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Thank you! Cheers!
@suhasdhoke1735
@suhasdhoke1735 5 ай бұрын
Thank you ❤
@itlearntv
@itlearntv 2 ай бұрын
I learn allot of this video of your. thanks
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Glad to hear that you're finding the series helpful.
@ethagbemichael
@ethagbemichael 5 ай бұрын
Great job 👏 👍
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thanks
@linuxgenius4667
@linuxgenius4667 2 ай бұрын
thats exactly i was waiting for, on how to configure bare matel
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
I think you can follow the same steps for bare metal, also, check Kubernetes the hard way
@raviveer11
@raviveer11 Ай бұрын
Super thanks for this video thanks a lot
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Welcome 😊
@TheZikori
@TheZikori 8 күн бұрын
Good job sir👍
@TechTutorialswithPiyush
@TechTutorialswithPiyush 7 күн бұрын
Thanks and welcome
@itsupportbyharshit6285
@itsupportbyharshit6285 13 күн бұрын
Thanks
@AbdulMateen-bm3kv
@AbdulMateen-bm3kv 4 ай бұрын
Thank you very much
@ajitsahoo4875
@ajitsahoo4875 Ай бұрын
Hy Piyush, why don’t you use GCP for this practice? Is there any video where you explain this concept using GCP?
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
replied already on the other comment
@AyoubKoussy-j6i
@AyoubKoussy-j6i 3 ай бұрын
Hi piyush thank you for the wonderful series.I have one question ,I want to create a cluster of hadoop in the top of k8s ,any idea how to start
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Sorry buddy I never worked with Hadoop but you can follow the official documentation and should be good
@ayushjaiswal167
@ayushjaiswal167 3 ай бұрын
Hi Piyush! Thanks for such a nice tutorial. However, I have a question that is it a best and secure practice to place admin.conf file in worker nodes. How such things are handled in a production level setup as per industry standards.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Thank you! If you are using on premises cluster such as Vmware or bare metal then you have an Admin workstation which has the kubeconfig and master node already have admin.conf which is generated by default. In case of a managed kubernetes service such as GKE, you dont get access to the master node , kubeconfig is getting generated through the cloud console or cloud shell using the user's authentication and authorisation
@GopiVivekManne
@GopiVivekManne 5 ай бұрын
Excellent demo Piyush!! I love the debugging part too 💯👍 Although the master node requires a minimum of 2 GB RAM and 2 vcpu, I attempted to configure it using a t2.micro instance with kubeadm to see if it would work or not. It failed to initialize, I had to upgrade the node to a t3.small to complete the setup.(kubeadm reset command is helpful)
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
You're welcome buddy! Yes, it needed atleast 2 GB RAM, t2.micro would not work
@bhanubisht8
@bhanubisht8 15 күн бұрын
so can we do that in free tier account...???
@sjeyendran
@sjeyendran 5 ай бұрын
Detail method sharing kubernets installation
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thank you, I have added all the steps in the Github repo as well, check it out
@harshgupta5113
@harshgupta5113 Ай бұрын
Bro waiting for the K8s the hard way setup video.
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Will create in some time, for sure
@ajitsahoo4875
@ajitsahoo4875 Ай бұрын
Another question Why don’t you use EKs directly?
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Because it's a managed service, many things including the control plane is managed by the cloud provider hence, limited learning for you. The right way is: Learn Docker --> Kind cluster --> Kubeadm and then EKS/AKS/GKE
@ganeshpawar231
@ganeshpawar231 27 күн бұрын
Q. I did this set up on EC2 as you did and further deployed ingress controller with LoadBalancer type. Ingress pod is running fine. CCM should have given an Elastic IP but I am not able get External IP for ingress service. It is in pending state. Why? Does it require any other configurations?
@bhanubisht8
@bhanubisht8 15 күн бұрын
Comment for target...!!!!!
@alekhya0510
@alekhya0510 3 ай бұрын
Hi piyush , I am following CKA series it is wonderful,I am very thankful.While installing through kubeadm way at the time of initialization kubeinit why do we provide public ip of vm , as public ip keep on changing while restarting.will it cause any error??
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Hello buddy, even if the IP changes, your cluster still gets registered
@Ramm165
@Ramm165 5 ай бұрын
Hi piyush thank you for the wonderful series.I have one question.I have 2 desktops with 64gb of ram and can i create vms on them and follow this tutorial to setup kubernetes cluster on them ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
That would be fantastic, go for it and let me know if you face any issues.
@Ramm165
@Ramm165 5 ай бұрын
@TechTutorialswithPiyush thank you sure
@Ramm165
@Ramm165 5 ай бұрын
@@TechTutorialswithPiyush installed locally and it worked thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
@@Ramm165 great job buddy
@AlitafSd
@AlitafSd 5 ай бұрын
thanks for such a clear explanations. i have one question As we know to build image we required the docker. And we do CI part using the jenkins. So my question is that , in a company does this docker daemon and jenkins installed on same ec2 instance or different?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thank you brother 🙏 Usually Jenkins works in a master slave architecture wherein Jenkins master provision multiple build servers to run the builds and these servers uses base image with docker installed. These could be on vms such as ec2 of containers or Kubernetes pods
@anishkaje250
@anishkaje250 3 ай бұрын
Hi Im trying to do this handson but unable to do it. Initially the Kubectl works and I recieved the get pod, get node so on.. After that it asks "specified host is right or not?" How to fix this issue? I followed your document but unable to solve this kubelet is in active state
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Hello Anish, If your kubectl commands are not working , there could be issue with your apiserver, or your kubeconfig is not correct. Can you check the apiserver logs and kubelet logs , also run crictl ps commands to ensure apiserver is running.
@anishkaje250
@anishkaje250 3 ай бұрын
@@TechTutorialswithPiyush okay sure thanks for the response
@dr.hemantchauhan2613
@dr.hemantchauhan2613 5 ай бұрын
😊
@mubinbhojani2779
@mubinbhojani2779 5 ай бұрын
sir please give all steps to install k8s cluster using kubeadm
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
I have already shared those, check out the GitHub repo for the same.
@ganeshpawar231
@ganeshpawar231 27 күн бұрын
Hi Piyush sir, Nice tutorial...! Thanks for sharing each detail of installation from this video. By the way, crictl ps command, containerd.sock error might be due to it has owner root and group root. You are running it as ubuntu user. We can simply change owner to ubuntu of containerd.sock. Hope it will work. What do you think?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 25 күн бұрын
Thanks for the tip, I appreciate the feedback!
@99nanaji
@99nanaji 5 ай бұрын
Hi Piyush, Please upload the scripts used for multi-node Kubernetes cluster installation to Git. Thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Hello and thank you for the reminder, updated the repo now.
@abhimanyuhowshe7873
@abhimanyuhowshe7873 2 ай бұрын
Why we are explicitly installing runc as contained is using it implicitly?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
even though runc is used by containerd, it's a seperate component. Docker engine communicates with containerd and containerd spins up runc or other oci compliant runtime to run containers
@abhimanyuhowshe7873
@abhimanyuhowshe7873 2 ай бұрын
@TechTutorialswithPiyush but as we installed containerd runs was also installed with it?
@AnkitKothawade
@AnkitKothawade 5 ай бұрын
Hello brother, just want to ask a question is this course is enough to prove an experience of 2 years . i hope you understood what i am saying. hoping for your response. Thank you!!!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Hello Ankit, from Kubernetes perspective its good enough but you also would have to learn a managed Kuebrnetes service on Cloud, a few more concepts such as GitOps, helm, ArgoCD, operators, CRDs etc. All the best. For Gitops and ArgoCD , I have a detailed video in #10weeksofcloudops series, check it out
@pradipakshar
@pradipakshar Ай бұрын
45:10 🤣🤣🤣🤣
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Happens 🤣 Usually during the long recordings
@dr.hemantchauhan2613
@dr.hemantchauhan2613 5 ай бұрын
@yashjha2193
@yashjha2193 3 ай бұрын
I have practiced, pods, RC, RS, Deploy, ManualScheduling, Node selector, Node affinity, Resource quota and rest.. But Ingress, RBAC can this be practiced using Kubeadm thing? Please tell me
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
That is correct!
@guntreddirajesh
@guntreddirajesh 5 ай бұрын
😍
@manivannanm9907
@manivannanm9907 Ай бұрын
Hi piyush, Thank you for the wonderful series. I Learn a lot of this video. I have one issue after join the worker node, worker node is not ready and it shows (describe worker node) kubelet is not ready -container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized. how we resolve this issue. thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Hello, You need to install the cni plugin such as calico, you can check the GitHub repo day27 folder, it has the troubleshooting steps as well
@theinteger
@theinteger 4 ай бұрын
👉👉Can we follow these steps on local VM?👀👀👀
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
You can use a virtualized environment as mentioned in the video, either use virtual box or multipaas and then you can spin multiple VMs inside your local VM.
@theinteger
@theinteger 4 ай бұрын
@@TechTutorialswithPiyush Great, i will setup one VM for master and other for worker | (ubuntu)
@roopeshsaravanan8609
@roopeshsaravanan8609 4 ай бұрын
But setting up a multi node k8s cluster in a VM doesn't make sense correct?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
It totally makes sense. We use this kind of setup when we need full control over the control plane, administrative and operational tasks, access to all the underline nodes etc plus it is cheaper when compared to a managed cloud service such as GKE/AKS/EKS etc. A manage cloud service takes care of your administrative and operational tasks, control plane HA and scalability, comes with some additional features such as Node auto provisioning, Cluster Autoscaler etc and that is why it is costlier than self managed kubernetes. You choose the setup based on your needs and requirements.
@Usama-Tanoli
@Usama-Tanoli 5 ай бұрын
Hi Piyush, I set up a Kubernetes cluster with kubeadm on my laptop using VMs in VirtualBox last month. However, when I change my Wi-Fi or internet connection, the cluster stops working due to the IP change. Can you suggest a solution to fix this issue?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Hello, this shouldn't be the case, what steps have you performed? can you compare it with the steps mentioned in this video?
@Usama-Tanoli
@Usama-Tanoli 5 ай бұрын
​@@TechTutorialswithPiyush i will perform this lab tomorrow.
@VishalMK-i4f
@VishalMK-i4f 2 ай бұрын
calico-node is showing 0/1 running, and found this issue " Readiness probe failed: 2024-11-14 14:42:48.582 [INFO][237] confd/health.go 202: Number of node(s) with BGP peering established = 0"
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
In the GitHub repo of day27 folder, I have added a section for this, can you please follow the steps
@kaarthickpk
@kaarthickpk 5 ай бұрын
🤩🤍💥💫
@ganeshpawar231
@ganeshpawar231 27 күн бұрын
Hi sir, I did this also on t2.micro Ubuntu 22.04 LTS. It's working. But thing is it was throwing error when I ran Kubeadm init --pod-network-cidr Error---> Error NumCPU : the number of available CPU is 1 is less than the required 2 Error Mem: the system Ram 957 MB is less than the minimum 1700 MB. I used same command with flag --ignore-preflight-errors=NumCPU,Mem And it got successful. And again joining the cluster was also throwing error I used --ignore-preflight-errors=IsPrivilegedUser with kubeadm join command And it got successful. But thing to remember It is showing 200MB available on master node and 500MB available on worker node . Thanks🎉
@TechTutorialswithPiyush
@TechTutorialswithPiyush 27 күн бұрын
That's sort of a minimum requirement, you can bypass the preflight checks but it could create issues if you run multiple workloads as your control plane won't be able to handle the load but for now you should be good
@ganeshpawar231
@ganeshpawar231 27 күн бұрын
@@TechTutorialswithPiyushyes, I wanted to check if it is working as you requested in video😄
@kalyanprogrammer6134
@kalyanprogrammer6134 2 ай бұрын
why there is mismatch between ports range in k8s document to your video totally confusing not even medium learners friendly sorry to say this very time consuming boring content for me time Waste tq
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Thank you for the feedback, have a good day
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Bdw, to answer your question, if you start a series from video 27, you will find it overwhelming. The k8s documentation for ports are generic, In my video, it is ec2 specific hence, extra ports but I guess you will find a better video than this, good luck
@ajitsahoo4875
@ajitsahoo4875 Ай бұрын
Hy Piyush, why don’t you use GCP for this practice? Is there any video where you explain this concept using GCP?
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Because it's a managed service, many things including the control plane is managed by the cloud provider hence, limited learning for you. The right way is: Learn Docker --> Kind cluster --> Kubeadm and then EKS/AKS/GKE Plus this series was for anyone looking for learn Kubernetes, not cloud specific. You can learn Kubernetes and then move to any cloud for further learning
Day 28/40 - Docker Volume Explained - Docker Bind Mount - Docker Persistent Storage
25:53
Day 34/40 - Step-By-Step Guide To Upgrade a Multi Node Kubernetes Cluster With Kubeadm
55:37
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Setup Kubernetes Cluster Using Kubeadm [Multi-node]
16:21
DevopsCube
Рет қаралды 38 М.
My NEW Kubernetes setup on Raspberry Pi
31:38
Christian Lempa
Рет қаралды 40 М.
Day 37/40 - Application Failure Troubleshooting From CKA
32:41
Tech Tutorials with Piyush
Рет қаралды 3 М.
Day 20/40 - SSL/TLS Explained Simply - How SSL/TLS Works?
26:08
Tech Tutorials with Piyush
Рет қаралды 10 М.
Day 31/40 - Understanding CoreDNS In Kubernetes
19:18
Tech Tutorials with Piyush
Рет қаралды 7 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 1 МЛН
Container vs VM: Hypervisor War is Over!
13:42
VirtualizationHowto
Рет қаралды 33 М.
Kubernetes at Home with Kubespray and Ansible
10:01
Engineering with Morris
Рет қаралды 14 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН