Setup Kubernetes Master and Worker Node on AWS-Hindi/Urdu |Lec-47 |Install Kubernetes step by step

    6
    26



    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

    Previous articleDevOps Tutorials | DevOps Jenkins, Maven | by Mr. Sunil
    Next articleIntro to Docker [with Java Examples]

    26 COMMENTS

    1. 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".