Lec-47 In this Lecture,i am demonstrating,how to install kubernetes on ec2 instance and then make one master and two nodes.then how to connect them.
LINK FOR DEVOPS MASTERS PROGRAM -https://www.simplilearn.com/devops-engineer-masters-program-certification-training?utm_source=Technicalguftgu&utm_medium=affiliate-cpm&utm_campaign=product_review_June2021
********************COMMANDS FOR DEMO********************
sudo su
apt-get update
apt-get install apt-transport-https
apt install docker.io -y
docker –version
systemctl start docker
systemctl enable docker
sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add
nano /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
apt-get update
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
BOOTSTRAPPING THE MASTER NODE (IN MASTER)
kubeadm init
COPY THE COMMAND TO RUN IN NODES & SAVE IN NOTEPAD
mkdir -p $HOME/.kube
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
chown $(id -u):$(id -g) $HOME/.kube/config
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
CONFIGURE WORKER NODES (IN NODES)
COPY LONG CODE PROVIDED MY MASTER IN NODE NOW LIKE CODE GIVEN BELOW
e.g- kubeadm join 172.31.6.165:6443 –token kl9fhu.co2n90v3rxtqllrs –discovery-token-ca-cert-hash sha256:b0f8003d23dbf445e0132a53d7aa1922bdef8d553d9eca06e65c928322b3e7c0
GO TO MASTER AND RUN THIS COMMAND
kubectl get nodes
***********************END*************************************
Now you can Donate us via Paypal or Google Pay
Paypal link : https://www.paypal.me/technicalguftgu
GooglePay/PhonePe/BHIM App UPI ID : [email protected]
Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL : https://www.youtube.com/c/TechnicalGuftgu
Here are direct links of My All the Playlist: MUST CHECK
IPv6 Complete Tutorial for beginners Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZjaqNaEEh6KBJLZjGC8WAu
Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZS9VhxzfWpne4c3ces9IHA
Cloud computing tutorials For beginners Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZoTCIRIGKvvtbKMj0rqCL-
AWS Solution Architect-Associate complete Tutorials Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8a_y_CMLHchyHz_R6-6i-i_
Devops tutorials in Hindi:-
https://www.youtube.com/watch?v=eX3ZimWWHh4&list=PLBGx66SQNZ8aPsFDwb79JrS2KQBTIZo10
CCNA Complete Tutorials /Computer Networking Link : https://www.youtube.com/playlist?list=PLBGx66SQNZ8ZvdIoctCTWB3ApXQpQGEin
This is the best channel for AWS Tutorials, Microsoft Azure tutorials, 2G,3G, LTE, CCNA, Cloud computing and for others topics related to cloud and computer networking. Technical Guftgu is the only platform, which provides you entire training on white board, so that you feels that, you are taking real time training.
Bhupinder Rajput Sir is having 8 Years of Experience in the field of technical trainings in entire india.
NOTE : If you would like to organise Bhupinder Rajput Sir workshop in your College or University, write mail to us.
For More Information:
Please write us at : [email protected]
Connect with us on facebook page-Technical Guftgu for his upcoming 5 Days workshops on cloud in india and Nepal. If you would like to donate and give support to our Channel, write mail to us.
Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team
source
any also tell me which version of ubuntu used?
can anybody sends the latest commands???
Thanks sir
terraform per videos banao
Only RESPECT for you…
Your teaching just touch our mind and heart ā¤ļø. We need teacher like you.
Last kube-flannel-rabc.yml gives error it shows flannel unchanged…. Plz anyone could help me…
Flannel command chalte waqt error aa raha hai
You are doing great work Sir. š
Kya bolu apko aap humare jeewan mye Nizamuddin Auliya banke aae aur hme ameer khusro bna diye. bht bht dhanywad apko, sir mai bhi kch krna chahta hu apke sath milke education sector mye india mye. upar wale ne chahe to jld he mulakat hogi. tahe dil se sukriya.
Bro u r doing great job…kon kia bol raha hai uspe dhayan mat dena sirji
sir u r the best we dont care wat other say we know wat ur doing is very respectfull…..sir we love u
Sir you are champion š for me
It Shows error on GPG key "no valid OPENPGP data found" any solutions?
One and Only one Teacher Bhupi Sir.
If we get a teacher like him in our college na then there were no need to bunk any lectures at all.. what a personality.. Surely I will try to share subscribe and so many friends are already aware of Bhupi sir guidance
Free of cost itana milana yane bahut kuch hota hai".
Please make the Terraform videos or lectures
Awsm lecture sir. The efforts you are doing for us are very precious.
ending…omg…sayari…amazing….single banda is feeling sad for no reason š¤£š¤£š¤£š¤£mst tha sir
Thanks
You are helping a lot in clearing concepts.
Hats off you sir, aap bahut achha kr rhe ho sir we always with you sirā¤ļø
You are awesome Sir!!
best
Leaving this comment for new viewers .i am not able to connect my worker node with master .when I enter kubeadm join command on worker node it simply goes blank and nothing happens after that cursor with blank screen.
Any help would be appreciated .
Thank you for the full course sir.
Wow