Practical

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Practical Kubernetes in 2 Hours: LAB setup in ubuntu 20.04 LTS OR 22.04 LTS (All commands used below agenda)
    Agenda for this playlist:
    K8s Local Development - Minikube setup on Ubuntu 20.04 LTS OR 22.04 LTS (VS Code Remote SSH)
    K8s Terms, terminologies
    K8 Cluster
    Pod Creation
    Deployment creation
    Service creation
    Running Node.js app using K8
    Rolling Updates and Pod discovery
    YAML spec files
    Multi Deployment creation
    Interaction between deployments
    LAB setup in ubuntu 20.04 LTS
    Commands :
    sudo apt-get update -y
    sudo apt-get upgrade -y
    sudo apt-get install curl
    sudo apt-get install apt-transport-https
    sudo apt install conntrack
    Install docker:
    curl -fsSL get.docker.com -o get-docker.sh
    sudo sh get-docker.sh
    ls -l var/run/docker.sock
    sudo usermod -aG docker $USER && newgrp docker
    Minikube:
    curl -LO storage.google...
    sudo mv minikube-linux-amd64 /usr/local/bin/minikube
    sudo chmod +x /usr/local/bin/minikube
    minikube version
    Kubectl:
    curl -LO "dl.k8s.io/rele... -L -s dl.k8s.io/rele..."
    sudo mv kubectl /usr/local/bin/kubectl
    sudo chmod +x /usr/local/bin/kubectl
    kubectl version --client
    minikube status
    kubectl cluster-info

КОМЕНТАРІ • 19

  • @ogbeisibor3193
    @ogbeisibor3193 Рік тому +2

    thanks, you're a legend.

    • @ogbeisibor3193
      @ogbeisibor3193 Рік тому

      please where is the video on connecting your Visual studio code to Ubuntu.

  • @bilalakbar8878
    @bilalakbar8878 Рік тому +1

    oooh man thank you so much.... stucked in Minikube for last 4 days.... love the way you explained it

    • @GalaxyGyan
      @GalaxyGyan Рік тому

      How can I resolve this issues ----
      X Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.

  • @IshaVermaVideos
    @IshaVermaVideos 2 роки тому +1

    Thank you so much for this video. I tried many videos and still i was getting back to back different errors. Like .. permission denied error, install cri-dockerd error, etc. searched on github but no luck. You have made the installation so easy. I loved the way to explain things. Looking forward for your next video.

  • @raghuveerrohine271
    @raghuveerrohine271 2 роки тому

    Brother, I want to thank you from the bottom of my heart, because I have been scratching my head about this installation for last 3 days, did every possible way to run the pods but was getting container network configuration errors. But the way you followed the steps for docker, minikube and kubectl installation resolved my issue. God bless you.

    • @cybersecnerd
      @cybersecnerd  2 роки тому

      Thank you for the nice words!

    • @GalaxyGyan
      @GalaxyGyan Рік тому

      Hello brother I am unable to setup these kinds of things when I set up a minikube Start then it will show an error how I can resolve this issue.

  • @anjalishreya9890
    @anjalishreya9890 Рік тому +1

    Thankyou finally started minikube. One question is that we took t2 xlarge for that how much bill will suppose if it's for 5 days

  • @aashischoudhary1058
    @aashischoudhary1058 2 роки тому +1

    Thanks bro..

  • @muhammadaliazhar5138
    @muhammadaliazhar5138 Рік тому +1

    Thanks a lot brother it works

    • @cybersecnerd
      @cybersecnerd  Рік тому

      Happy to help! :)

    • @GalaxyGyan
      @GalaxyGyan Рік тому

      after running the command , minikube start it will show this kind of thing ---------------
      X Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges. , how I resolve this kind of issue can you help me for resolving this kind of issue

  • @GalaxyGyan
    @GalaxyGyan Рік тому +1

    Hi
    when I am running the command minkube start the show this kind of error
    X Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.
    How can I resolve this, can you help me

  • @Raja_babu-9860
    @Raja_babu-9860 2 роки тому

    Unable to start

  • @abhijitdash8084
    @abhijitdash8084 Рік тому

    sir I face this error, my node status is showing "not ready" please help me anyone..
    root@ip-172-31-11-142:/home/ubuntu# kubectl get nodes
    NAME STATUS ROLES AGE VERSION
    ip-172-31-11-142 NotReady control-plane 11m v1.25.3