Minikube and Kubectl explained | Setup for Beginners | Kubernetes Tutorial 17

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 122

  • @TechWorldwithNana
    @TechWorldwithNana  4 ปีที่แล้ว +24

    If you have any problems in the installation process, ask in the comments and I will try to help you 👩🏻‍💻
    0:12 - What is minikube?
    2:16 - What is kubectl?
    4:13 - install minikube and kubectl
    6:50 - create and start a minikube cluster
    10:00 - start the cluster in debug mode
    Installation guide for Minikube (Mac, Linux and Windows): minikube.sigs.k8s.io/docs/start/
    Installation guide for Kubectl: kubernetes.io/docs/tasks/tools/install-kubectl/
    If you are using Mac, you can follow along the commands. I listed them all here:
    gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/blob/master/basic-kubectl-commands/cli-commands.md

    • @futuristicapproach
      @futuristicapproach 3 ปีที่แล้ว

      Good Morning ma'am... I am unable to install hyper kit in my MAC. it says "no bottle available ..you can try installing from source"....if you can help me in installing...would be grateful to you..Thanks in advance

  • @abadnaseer5083
    @abadnaseer5083 4 หลายเดือนก่อน +1

    Your teaching style is so amazing to be honest.

  • @Poqonos
    @Poqonos 4 ปีที่แล้ว +19

    Since I have Docker installed on my Ubuntu laptop, I used "minikube start --driver=docker" instead of other hypervisor, great tutorial by the way, enjoying this series.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      Thank your for the nice feedback 🙏

    • @mostinho7
      @mostinho7 4 ปีที่แล้ว +7

      there is a list of supported hypervisors depending on your OS here:
      minikube.sigs.k8s.io/docs/drivers/

    • @rahulaggarwal3817
      @rahulaggarwal3817 3 ปีที่แล้ว +1

      I think by-default also "minikube start" picks docker, if we do not mention anything?

  • @BeNetCoders
    @BeNetCoders 4 หลายเดือนก่อน

    Still relevant today and one of the best i have seen explaining it in simple terms.
    Thank you so much!

  • @tiffanyforbes8781
    @tiffanyforbes8781 9 หลายเดือนก่อน

    I had a great challenge installing the docker, Kubernetes and minikube for my computer assignment and this video has helped me. Thank you so much. I had to subscribe...

  • @aashishchaubeyschannel2676
    @aashishchaubeyschannel2676 4 ปีที่แล้ว +13

    Hey, thanks for such an amazing video. It has to be one of the most lucid explanations of the topic on this platform!

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +3

      Wow thanks Aashish, really happy to hear that my effort translates in videos, which are so helpful for you guys! 💙 Please like and share :)

  • @abduchadili5691
    @abduchadili5691 3 ปีที่แล้ว +9

    Hello Nana,
    You probably know that already, the latest minikube install I have uses --driver instead of --vm-driver which is deprecated. Thanks, I love your presentation style.

    • @alexandrevalente9994
      @alexandrevalente9994 2 ปีที่แล้ว

      Just one more note: If you use Docker... it will detect it and use the docker driver by default on Ubuntu Linux.

  • @mostinho7
    @mostinho7 4 ปีที่แล้ว +1

    Done thanks took notes in onenote
    Starts at 2:30
    API server is the entry point to the cluster you use it to do anything on the cluster

  • @asankasiriwardena3383
    @asankasiriwardena3383 2 ปีที่แล้ว

    Right on the money, most lucid explanation I had so far

  • @engalibadouin5222
    @engalibadouin5222 3 ปีที่แล้ว

    thanx, Nana for your simple English you big tutor.

  • @BanibrataDutta
    @BanibrataDutta 3 ปีที่แล้ว +6

    Great video tutorial series Nana. BTW, would be nice if you do a revision of this tutorial because Minikube now support multi-node setup, and also can run atop Docker (in same way as Kind).

  • @ShivamSingh-et4bj
    @ShivamSingh-et4bj 4 ปีที่แล้ว +5

    Hi Nana, I must appreciate your efforts for the Kubernetes series, one of the best available on youtube 👌
    Can you please also make video on how to setup cluster on aws ec2?

  • @ALEJANDROMESIAS
    @ALEJANDROMESIAS 4 ปีที่แล้ว +3

    Thank you so much for this informative video. It would be awesome to have another one discussing how to run the node with docker-desktop or how it differs from minikube.

  • @nirmalgreen1
    @nirmalgreen1 4 ปีที่แล้ว +1

    Nice video with very clear instructions.

  • @alenamitnovizki3857
    @alenamitnovizki3857 2 ปีที่แล้ว

    Nana, you are one of the best, really. I adore and appreciate your work so much!

  • @nandakumar7659
    @nandakumar7659 2 ปีที่แล้ว

    This crash course makes zero to hero lots of effort it was wonderful guidence Nana....
    I request you to post some videos on microk8s

  • @chilleddriving1455
    @chilleddriving1455 3 หลายเดือนก่อน

    Ctrl-l clears the screen. Modern IT people just don't know the basics.

  • @adityadeshmukh1689
    @adityadeshmukh1689 2 ปีที่แล้ว +1

    Wow! that was really helpful...Thanks Nana

  • @AhmadEzzeir
    @AhmadEzzeir 4 ปีที่แล้ว +4

    Thanks for your great videos, it is helps a lot, keep going please

  • @BenLansdell
    @BenLansdell 2 ปีที่แล้ว +1

    Super useful, thank you!

  • @qichaozhu1584
    @qichaozhu1584 5 หลายเดือนก่อน

    Very good tutorial video. Thanks.

  • @danylunny8142
    @danylunny8142 7 หลายเดือนก่อน +1

    Thank you Nana :)

  • @AlexGhoro
    @AlexGhoro 4 ปีที่แล้ว +1

    Thanks for the video very useful for me that I'm kind of new with k8s and all this stuff 😊very good quality and explanation, subscribed !!!

  • @AjayGupta27
    @AjayGupta27 4 ปีที่แล้ว +1

    great tutorial, such clear explanations. Thank you for creating this series

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      You're welcome Ajay. Please don't forget to share. 🙂

  • @lucasterable
    @lucasterable 2 ปีที่แล้ว +1

    If you are on Windows 10 *Home*:
    1. install Docker Desktop
    2. install Chocolatey
    3. \> choco install minikube
    4. \> minikube start --driver=docker

    • @Jim892
      @Jim892 หลายเดือนก่อน

      @lucasterable. Thanks a lot, this is still relevant. @nana I tried a tonnes of variations including installing it over vm (rhel/ubuntu) and over windows laptop, but these aforementioned simple steps work for me today. Please note this. It took a day to try out different things, but this combination finally works for me. Over unix, loads of dependencies needs setting up, did not go smoothly for me.

  • @sam.ammatouri
    @sam.ammatouri 3 ปีที่แล้ว

    Loved your way of explaining. Very well done :)

  • @aliazlanaziz
    @aliazlanaziz 3 ปีที่แล้ว

    It was really helpful, easy and to the point. Respect ++

  • @shubhamrokade6086
    @shubhamrokade6086 7 หลายเดือนก่อน

    make a vid. on installation of minicube and kubectl on ec2 instance

  • @krishnasinghpratap
    @krishnasinghpratap 4 ปีที่แล้ว +1

    Thank a lot very helpful content.. looking for full course. If possible pls upload.

  • @akashpatel2299
    @akashpatel2299 4 ปีที่แล้ว +1

    It's really awesome :) Thanks

  • @Gimmiyimmy
    @Gimmiyimmy 3 ปีที่แล้ว

    Nicely explained. Thank you, :)

  • @ariasalmeida
    @ariasalmeida 3 ปีที่แล้ว

    Amazing video! Thank you a lot!

  • @ashokvaddevalli
    @ashokvaddevalli 4 ปีที่แล้ว +1

    All videos are very helpful and easy to understand. Thanks for your effort. Can you please post more videos for DevOps

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +2

      Next video already coming tomorrow about K8s Ingress and Helm later. Which DevOps topics would interest you specifically?

    • @ashokvaddevalli
      @ashokvaddevalli 4 ปีที่แล้ว

      Ansible, Git, AWS, Terraform, Gradle etc... I think you have experience with programming language? Are you planning to post in future any programming language like Python 🐍

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      @@ashokvaddevalli Thanks for your input! Yes I have experience as a software developer and I will be posting tutorials for programming languages starting with Python.

  • @ashokkumarsivasankaran5428
    @ashokkumarsivasankaran5428 3 ปีที่แล้ว

    Great session! Thank you!

  • @aditinagar6688
    @aditinagar6688 2 ปีที่แล้ว +2

    Hey Nana, thank you for such informative video. Actually I'm still stuck on the installation part on windows 10 OS. Could you please guide how to install it on windows 10 using docker desktop?

  • @rajeshkothapeta287
    @rajeshkothapeta287 10 หลายเดือนก่อน

    Hi Nana, thanks for the time to post these helpful videos. I am facing the challenge to install hyperkit on my Mac M1 chip. Please help me. Thank you.

  • @afripy
    @afripy ปีที่แล้ว

    Thanks for the video

  • @SAINIVEDH
    @SAINIVEDH 8 หลายเดือนก่อน

    People with m1/m2 arm, try `brew install qemu` instead of hyperkit

  • @jonathanberrios7773
    @jonathanberrios7773 ปีที่แล้ว

    hi Nana ! could you share what keyboard do you have ? the sound is very soothing hehe. Thank you !

  • @monikaramadoss5984
    @monikaramadoss5984 ปีที่แล้ว

    Hi Nana
    Thanks for your good videos!!!!
    I didn't use any hypervisor while installing the minikube. Is it is mandatory to install ?
    I'm using windows os in my system.

  • @_myron
    @_myron 3 ปีที่แล้ว

    good video!

  • @sanooosai
    @sanooosai 2 ปีที่แล้ว

    God Bless You :)

  • @markcampanelli
    @markcampanelli ปีที่แล้ว

    Another very useful “getting started” video. Thanks!
    I’m wondering a bit still about resource provisioning “rules of thumb” if I were to adapt an existing in-production setup to my local dev machine?

  • @DonPierreHalfaway
    @DonPierreHalfaway 3 ปีที่แล้ว

    Fast forward to 6:58 to get to the general and practical commands. At using minikube.

  • @axea4554
    @axea4554 3 ปีที่แล้ว

    a happy person uses a hypervisor on a mac

  • @babusasidhar
    @babusasidhar 4 ปีที่แล้ว

    Hi Nana, How to install k8s Hardway in On-prem environment. Do you have any instructions or steps. Please share or plan for a video. That will be awesome

  • @bala2792
    @bala2792 ปีที่แล้ว

    Thanks for the detailed explanation of Minikube and Kubectl. I just have one query on the Kubectl version command. You mentioned there is a client and server version of Kubernetes running. Could you please clarify on that?

  • @MrSandshadow
    @MrSandshadow 11 วันที่ผ่านมา

    8:18 where does the kubectl came from?!

  • @rakeshmali1727
    @rakeshmali1727 3 ปีที่แล้ว +1

    What is "server version" at 9:50?
    Awesome videos btw!

  • @963258741ydhfcvn
    @963258741ydhfcvn 4 ปีที่แล้ว +1

    Thanks Nana..can i take all the full course in each and every devops topics?

  • @davidlee588
    @davidlee588 ปีที่แล้ว

    Nana always stops at what I don't know😅

  • @lyesmek7741
    @lyesmek7741 3 ปีที่แล้ว

    How to set minikube pull images from private registry?
    Thanx

  • @tomxu4254
    @tomxu4254 7 หลายเดือนก่อน

    I have a M1 mac, I can't install hyperkit, what should I do?

  • @kevaljoshi1711
    @kevaljoshi1711 2 ปีที่แล้ว

    what is the reason that minikube or kubernetes needs virutalization compulsorily to run??

  • @niteshghosh38
    @niteshghosh38 4 ปีที่แล้ว

    Thanks for the video it help a lot, I just wanted to know when we write command minikube start and looking for action it basically "preparing kubernetes on docker" what basically happing in background?

  • @factsgram110
    @factsgram110 ปีที่แล้ว

    How adding multiple master nodes will help cluster to be more robust ?
    How kubernetes manage operations between the master nodes ?

  • @rahulkatrap9079
    @rahulkatrap9079 6 หลายเดือนก่อน

    i am facing a error on command kubectl get nodes error is "The connection to the server localhost:8080 and 6443 was refused - did you specify the right host or port?" i have tried all options on the internet but nothing still getting this error i have tried the official doc but i was not able solve this problem .

  • @venkatapradeepgopisetty3494
    @venkatapradeepgopisetty3494 4 ปีที่แล้ว

    My question minikube acts as a vm image run on hypervisor ?
    2)if kube ctl configured in laptop , how it interact with minicube vm ?

  • @44Kokoloko
    @44Kokoloko 2 ปีที่แล้ว

    Now that the docker runtime isn't supported, what's changed?

  • @EduardKhiaev
    @EduardKhiaev 3 ปีที่แล้ว

    great video, question how do I connect from a different server (kubectl) to the minikube VM?

  • @AudioManiiac
    @AudioManiiac 4 ปีที่แล้ว

    This is a great tutorial! Do you know if you can install Minikube without an internet connection? For example if you have the installation file already downloaded but want to install it on a machine with no internet access? Does it try to download other dependencies as part of the installation process, or will it install without issue?

  • @jestmal
    @jestmal 3 ปีที่แล้ว

    Hey Nana,
    Thanks for the videos u post in your channel, I have learned quite a bit from your videos 🙂
    I tried setting up a minikube cluster on an AWS EC2, set up a few services(nodeports), enabled ingress, opened ports and tried accessing the deployed services/ ingress using the EC2s public IP and ingress port, but I'm not able to access the services or the ingress.
    Is it like minikube will work only on local host?
    I am able use the same ymls in Rancher perfectly fine.

  • @ModyKhan
    @ModyKhan 2 ปีที่แล้ว

    Nana, thank you so much for this awesome video. I have just subscribed and shared your channel with my buddy as we are dabbling into Kubernetes. Is it possible to run Minikub on any VM running on Azure or Windows 11 local Hypervisor?

  • @dorbenmoyal7639
    @dorbenmoyal7639 3 ปีที่แล้ว

    Thanks Nana

  • @happylearningtricks
    @happylearningtricks ปีที่แล้ว +1

    ⭐⭐⭐⭐⭐🤩

  • @edgarsanchezprado8879
    @edgarsanchezprado8879 4 ปีที่แล้ว

    What an amazing video, with such a great explanation. I wondering how can add second node in minikube?

    • @Justicewarrior795
      @Justicewarrior795 4 ปีที่แล้ว +1

      I think you can't it's a single node with a single pod inside it.

    • @abduchadili5691
      @abduchadili5691 3 ปีที่แล้ว

      Nope, one cluster, one master, one worker, That's it which is enough for local dev.

  • @shlomi8129
    @shlomi8129 3 ปีที่แล้ว

    Hi,
    I saw that you got only the master node. What about an additional worker node? how is it done?

  • @gokusaiyan6809
    @gokusaiyan6809 2 ปีที่แล้ว

    Hi Nana, can we use minikube or do we need minikube to access an aks cluster too?

  • @machireddyshyamsunder987
    @machireddyshyamsunder987 3 ปีที่แล้ว

    how to get volumes mounts to perform on this minikube .. ?

  • @XxMissingDataxX
    @XxMissingDataxX 3 ปีที่แล้ว

    How do you set your terminal with the icons on the left side?

  • @GymCoders
    @GymCoders 4 ปีที่แล้ว +1

    Hi There, How can I start creating Objects in minikube? Could we get a .yalm file and run it as a local app?
    Thanks

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Hi Cristhian, you can do that with kubectl apply -f yaml-file-name.yaml. If you need some example yaml files, I put all my demo files from the videos here: gitlab.com/nanuchi/kubernetes-tutorial-series-youtube
      Let me know if this answers your question

  • @bijayajena6756
    @bijayajena6756 3 ปีที่แล้ว

    hey Nana,
    we are using docker desktop (windows ) to connect the cluster , we are using kubectl command , how can i set up a k alias for kubectl on docker desktop (windows) any idea .

  • @kukishnashok478
    @kukishnashok478 4 ปีที่แล้ว +1

    Hi, Do you have videos to config high Availably in minikube ?

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      No, I don't. Maybe will do a video on HA on one of the cloud platforms

    • @kukishnashok478
      @kukishnashok478 4 ปีที่แล้ว

      @@TechWorldwithNana sounds good

  • @AmitKumar-ik3os
    @AmitKumar-ik3os 2 ปีที่แล้ว

    I am trying to run minikube start --vm-driver=hyperkit
    error:Starting local Kubernetes cluster...
    F0926 10:19:28.250134 4156 cluster.go:449] Unsupported driver: hyperkit
    any idea how to solve this . please help me with this

  • @andreawijayakusuma6008
    @andreawijayakusuma6008 2 ปีที่แล้ว

    i got a problem when install hyperkit :{ . could you suggest me how to deal with it ?

  • @bilalmujahid9239
    @bilalmujahid9239 3 ปีที่แล้ว

    Which editor you are using to Start the Minikube Cluster. It is also having emojis on the left that is so cool. Kindly tell me please :)

    • @nickmills8476
      @nickmills8476 3 ปีที่แล้ว

      It's a terminal program, not an editor. I use iterm2 on a Mac and see these emojis.

  • @yogeshjagadale7385
    @yogeshjagadale7385 3 ปีที่แล้ว

    Is that possible to install multinode cluster using minikube?

  • @siddhantsingh4890
    @siddhantsingh4890 4 ปีที่แล้ว

    Hey. I want to know how can I create a worker node other than minikube?

  • @priyankagurjer6285
    @priyankagurjer6285 2 ปีที่แล้ว

    Hi Nana , is there any way to install this setup over VMware?

  • @arpitasrivastava9674
    @arpitasrivastava9674 4 ปีที่แล้ว

    How to install minikube on aws ec2?

  • @techsingh1655
    @techsingh1655 4 ปีที่แล้ว

    How can i run my minikube in centos vm machine

  • @techmcnaz1978
    @techmcnaz1978 3 ปีที่แล้ว

    Hi Nana, Naz Here. i am trying to install kubernetes on my virtual machine which is a linux how will i get it working on there.
    1. my actual laptop is a window OS and doing all my kubernetes stuff on the virtual box on ubuntu.
    can you please guide me how to successfully install kubectl with minikube please and the steps to get docker as well.
    am fairly new to this .
    anay help would be appreciated! :)

  • @RavinderSingh-oq5cn
    @RavinderSingh-oq5cn 4 ปีที่แล้ว

    I am facing problems in setting up this whole minicube in linux...if possible can you help and post a video for that

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      What problems do you have? What errors do you get?

    • @RavinderSingh-oq5cn
      @RavinderSingh-oq5cn 4 ปีที่แล้ว

      @@TechWorldwithNana I resolved it...it's working fine now...actually i was not able to install vm as i am using linux machine remotely. So i tried the "--vm-driver=none" option n it worked just fine for me.

  • @alexandersmirnov4274
    @alexandersmirnov4274 4 ปีที่แล้ว

    Hi, why you use hyperkit, but not virtualbox or parallels. What is advantage?

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Hi Alexander. I don't think there is any difference for this specific use case. You can use any.

  • @be236
    @be236 4 ปีที่แล้ว

    I am running on a VM, and used this to try to start minikube:
    $ minikube start --driver=docker
    ...
    But then it gets stuck and fails with this error:
    ....
    main.main
    /app/cmd/minikube/main.go:71
    runtime.main
    /usr/local/go/src/runtime/proc.go:203
    runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1373 Advice:Try 'minikube delete', and disable any conflicting VPN or firewall software URL: Issues:[7072] ShowIssueLink:false}
    * [CREATE_TIMEOUT] error provisioning host Failed to start host: creating host: create host timed out in 360.000000 seconds
    * Suggestion: Try 'minikube delete', and disable any conflicting VPN or firewall software
    * Related issue: github.com/kubernetes/minikube/issues/7072
    andrew@dockerlive:
    Help, I dont know how to fix this.

  • @FrederickAlvarez_
    @FrederickAlvarez_ ปีที่แล้ว

    thank you, I'm learning apache beam and flink and the book has some install inscripts and I wanted to know what the fuck were those things! arigatou from mexico

  • @forextrader2199
    @forextrader2199 3 ปีที่แล้ว

    880th like by me.

  • @creative-commons-videos
    @creative-commons-videos 3 ปีที่แล้ว

    seriously, still 1 dislike ????

  • @nawnitsen7771
    @nawnitsen7771 3 ปีที่แล้ว +1

    Best video ever, thanks for such an amazing content.

  • @varunsharma1889
    @varunsharma1889 2 ปีที่แล้ว

    Just FYI - if you have dockeminikuber desktop installed on your machine, you can just use that instead of minikube

  • @zakariachahboun
    @zakariachahboun 4 ปีที่แล้ว +1

    Great Tutorial Nana!

  • @sureshpal5569
    @sureshpal5569 ปีที่แล้ว

    great way of explanation

  • @richlotta
    @richlotta 4 ปีที่แล้ว

    Thanks!!