Kubectl Basic Commands - Create and Debug Pod in a Minikube cluster | Kubernetes Tutorial 18

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Kubectl the command line tool for accessing the Kubernetes cluster. In this video we create and debug a pod in a minikube cluster using Kubectl commands.
    I'll go through the basic commands of the Kubernetes CLI. You will learn how to create, edit, delete deployments/pods. Also how to debug a pod with useful debugging commands.
    ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
    0:12 - Get status of different components
    1:08 - create a pod/deployment
    4:57 - layers of abstraction
    5:19 change the pod/deployment
    7:14 - debugging pods
    10:43 - delete pod/deployment
    11:42 - CRUD by applying configuration file
    16:22 - summary of commands
    Git repo link of all the commands I use:
    gitlab.com/nan...
    -------------------------------------------------------------------------------------------------------
    What is Kubernetes? 👉🏼 • What is Kubernetes | K...
    Kubernetes Components explained? 👉🏼 • Kubernetes Components ...
    For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes.
    #kubernetes #kubernetestutorial #devops #techworldwithnana
    -------------------------------------------------------------------------------------------------------
    This video is the 18th of a complete series for beginners. At the end of this tutorial you will fully understand Docker and Kubernetes.
    ⭐️ Full Playlist: • Docker and Kubernetes ...
    -------------------------------------------------------------------------------------
    The complete step-by-step guide to Docker and Kubernetes will include the following topics:
    🐳 DOCKER basics:
    - Container concept
    - Why docker? (image vs. traditional DevOps)
    - Install docker on different operating systems
    - 8 basic commands you need to know (2 parts)
    - Docker vs. Virtual Machine
    - Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment) Probably 3-5 videos including Docker-Compose, Dockerfile, Private Repository.
    - Docker Volumes in theory and practice
    ✵ KUBERNETES basics:
    - Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
    - Kubernetes architecture for beginners (master, slave nodes & processes)
    - How Kubernetes makes high availability, scalability and disaster recovery possible
    - Minikube, Kubectl - set up the cluster
    - Kubectl basic commands - Demo
    - Configuration file (YAML) - syntax
    - Communication between the pods - basic networking concepts in Kubernetes
    - K8s Deployment in practice - example application deployment (pod + service + Ingress + secret)
    - K8s Volumes explained
    - Kubernetes Networking
    - Kubernetes Namespaces
    -----------------------------------------------------------------------------------
    ✅ Connect with me
    on TH-cam: / @techworldwithnana
    on DEV: dev.to/techwor...
    on Instagram: / techworld_with_nana or my personal account: / nanuchij
    on Twitter: / njuchi_
    on Tumblr: www.tumblr.com...
    Legal Notice:
    Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.

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

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

    0:12 - Get status of different components
    1:08 - create a pod/deployment
    4:57 - layers of abstraction
    5:19 change the pod/deployment
    7:14 - debugging pods
    10:43 - delete pod/deployment
    11:42 - CRUD by applying configuration file
    16:22 - summary of commands
    👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
    Please don't forget to subscribe and give me a thumbs up if you liked my video 😊

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

      Your presentation and the video content is very good, able to easily understand the concepts. i find it more informative than any other udemy vidoes

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

      @@vigneshmanick2759 Thanks for such positive feedback, really appreciate it :)

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

      Thanks a lot Nana, so sweet of you, great work keep it up. May God bless u with success nd happiness.

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

      @@amulsharma8172 🙏 Thank you so much Amul 🙂

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

      Nana how to get token from hidden pod

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

    Nice tutorial. I think you forgot to mention what to do when we want to use a local image rather than pulling from a public docker registry. For anyone interested, you can upload a local image to minikube with:
    minikube image load
    and then run the 3:17 command

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

    Great work, I gone through the many Kubernetes blogs and videos and you explained the concepts in detailed. I cleared my concepts. Thanks a ton !

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

      Thank you so much, glad I could help :) Hope you like my upcoming videos too 🙅🏼‍♀️

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

    I can't recommend your kubernetes series highly enough.
    You are a good person Nana.

  • @technoe02
    @technoe02 3 ปีที่แล้ว +13

    Hey Nana! Love your videos. One small edit though,
    ‘-i’ stands for interactive
    ‘-t’ stands for TTY (teletype) which tells the terminal to behave like a physical terminal and less like a shell environment.

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

    I really like your Layers of Abstraction breakdown, most other instructors should learn your way of teaching.

  • @markcampanelli
    @markcampanelli 9 หลายเดือนก่อน +1

    Another informative and right-to-the-point video. Thanks so much!

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

    simplest explanation i have seen till now with such a detailed way...Thanks :)

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

    Your videos are so beautiful and useful. Thank you for putting the extra effort.

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

      I'm glad you find it really helpful Mark. Best of luck to your journey. Stay safe and blessed. 🙂

  • @DeepakKumar-iu8gf
    @DeepakKumar-iu8gf 3 ปีที่แล้ว

    Hi @Techworld with Name, I have been following of these vides for a short time. Your explanations are very crispy. Easily understandable. I really appreciate your work for the community. Keep up this splendid work for folks. Thanks once again for sharing these to all of us.

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

    what an amazing tutorial! thanks a bunch Nana

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

      Thank you for your positive feedback 😊 🙏

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

    i love you for making those videos, sharing knowledge without nothing back, i send you a big hug a thank again for all you have done, you deserve a new subscriber, me

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

    I have checked many resources but this one is so clear. I'm gonna invest myself and spend my weekend with this playlist. thank you very much and I hope you keep continue to produce.

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

    So clear and didactic! TKS for that's videos...

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

      Aaawww, this is much appreciated Rodrigo. Stay safe. 🙂

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

    Loved the tutorial. Also, for ppl following the tutorial: Nginx version 1.16 is not available as of now. Try 1.17

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

    Love the way you explained it. Thanks!!

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

      Happy you like my way of explaining things :)

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

    Thanks for this awesome video. Thank you, Nana

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

    Thank you for such a good tutorial.Waiting eagerly for configuration file tutorial.

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

      Thanks a lot Ghazi! Will publish the configuration file tutorial in a few days :)

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

    Thanks for the videos.

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

    nice introduction to kubernates command line

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

    Done thanks
    Copied to onenote
    Editing a deployment automatically starts a new pod with the new properties and the old one is stopped
    Kubectl logs somePodName returns the logs printed by a pod
    Kubectl exec gives you a terminal into the pod
    Kubectl exec -it somePodName - ibn/bash
    Deleting deployment deletes replicaset too
    Creating deployment from cli instead of typing out all the configuration options we use config files
    12:50 using kubectl apply which takes a configuration file and applies its contents
    Config file defines spec specifications for a deployment, including how many replicas of the deployment. Inside the config for deployment we have config for the pod itself, like the image it’ll use
    A pod can have multiple containers inside it also
    After making changes to the config file you save and do kubectl apply
    If deployment doesn’t exist this also makes it from scratch

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

    Great video. The way you teach is really great, specially I like the summary at the end. Good job!

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

    Just fenomenal tutorial

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

    Hey Nana, thanks for very interactive session in terms of KubeCtl command and all details. However I would recommand please put shortcuts on screen for minikube terminal too... It will help beginners to do it with same speed as you are doing. Very informative and much needed session.
    Thanks again for the such detail video. I am addicted by your teaching style.

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

    რამდენი ვიდეოა გისმენ და ვერ წარმოვიდგენდი რო ქართველი იყავი სანამ მარჯვენა ზედა კუთხეში ნანა ჯანაშია არ წავიკითხე შემთვევით 😁 ძალიან კარგად საუბრობ ინგლისურად 😊😊

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

    Thanks, It was helpful, I'm gonna go for zero to hero for the Kubernetes

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

    Super tutorial 🙏

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

    Very clearly explained Nana Thanks

  • @RahulVerma-fz2jf
    @RahulVerma-fz2jf 3 ปีที่แล้ว

    Keep up the good work. A big fan of your videos. Easily understandable with practical implementations.

  • @Amit-qv8cp
    @Amit-qv8cp 4 หลายเดือนก่อน

    Nice and clean explanation as always 💌

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

    Thank you Nana

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

    Beautiful explanation with wonderful content. Thanks for sharing.

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

    Very nice and well explained

  • @pramodkumar-hi3hn
    @pramodkumar-hi3hn 4 ปีที่แล้ว +2

    Thanks for the session about k8"s commands .

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

    amazing video. Love the way you teach k8s

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

    you are amazing Nana!!!!

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

    Good Stuff

  • @anzo.p
    @anzo.p 4 ปีที่แล้ว +2

    history -w /dev/stdout | sort | uniq | grep ^kubectl
    this might help to review and learn all those commands in these videos, for those who likes to code along, and then get back to do over

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

    Nice tutorial. Looking forward for more such stuff

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

      Thanks, best to subscribe to not miss new videos 🙂Many cool topics in the pipeline :)

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

    Excellent teaching!

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

    Awesome tutorial , easy to learn K8S.

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

    BESTEST!

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

      Awesome compliment Aaditya! Thank you. 🙂

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

    Awesome! Thanks for your work and efforts!

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

      You're welcome, happy you like my videos 🙂

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

    Learned so many things in this video :) Thanks

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

    Hi nana..
    Ur videos r lightweight like docker🥰
    Nd smallest unit of contents...

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

    Best tutorials on youtube! Thanks ;)

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

    this is great stuff. thanks!

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

    great work , Glory to you

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

    Excellent content

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

    excellent

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

    Excelent, you're teaching me a lot!!!

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

    Awesome videos.
    When there is something on terminal and we pause the video to write that down, the video progress bar comes up and it hinders seeing the command on the terminal. You may clear up the terminal so that commands come up at the top.

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

    Thx from russians developers! Very clear explanation of the K8s concepts. Please explain how to use my local docker image!

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

    thanks a lot!!

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

    awesome tutorial

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

    I have an idea for your theme song at the end of every video: Nananana, nananana, hey hey hey, goodbye!!

  • @ashokkumar-qf7wg
    @ashokkumar-qf7wg 3 ปีที่แล้ว

    nicevideo

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

    Thanks for the detailed tutorial. I have met a problem when editing the deployment config, after changing image from " nginx" to "nginx:1,16" kubectl told me "error: deployments.apps "nginx-depl" is invalid". how can I check where go wrong?

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

    Nicely explained.. Any plans for a similar video series on Red hat Openshift..?

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

    When you are to use `exec`, bin/bash is not available for alpine images, should be using bin/sh instead.
    .. Just for those who are relatively new to docker..

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

    Thanks !!! gratitude to you. you must be a very nice person to dedicate your time educating everyone thru your Channel. Work as DevOps/SRE Engineer, dealing with K8 on the daily basis ( besides the Splunk logs, kubectl describe command is my best friend how to troubleshoot ) I have a questions. would you please tell me what type of editor you are using when creating a yaml file for deployment. I use vi editor and it gives me lots trouble to get my indentation right. if you can post the url where you down-load your yaml editor I would be grateful to you. Thanks again for spreading your know how and teaching everyone here. Mat.

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

      Thanks a lot Mat! :) I just use Visual Studio Code code.visualstudio.com/ and put the code inside an online validator. But there are also YAML extensions you can install in VSC for built-in validation and auto-complete - just looked one up "YAML language support by Red Hat " - they also have built-in Kubernetes syntax support. I didn't try it out though.

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

      use vimdiff whatever changes need to be done will be highlighted when you are comparing two files all you need to do is press the pgdwn button to the desired row and just type "do" values from right to left will be copied and after being done with changes type"esc" button in keyboard then type "wqall!" That way it saves the changes made in the file

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

      @@TechWorldwithNana use vimdiff whatever changes need to be done will be highlighted when you are comparing two files all you need to do is press the pgdwn button to the desired row and just type "do" values from right to left will be copied and after being done with changes type"esc" button in keyboard then type "wqall!" That way it saves the changes made in the file

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

    Mam ur explaination is awesome...but your kubernetes videos don't have specific order can you please give numbering to them..as of now they are scattered.

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

    Hi Nana The video was informative. I have one error while creating using command kubectl apply -f nginx-deployment.yaml like this error: the path "nginx-deployment.yaml" does not exist can please help me out

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

      I had the same issue. You need to create the file nginx-deployment.yaml first. Then add her code inside the file. Finally, you can kubectl apply -f nginx-deployment.yml

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

      @@MetalBearSeto How can the .yaml file be created? I got stuck at the same spot

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

    You can create a Pod with kubectl run command.

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

    hey nana,Please make a tutorial on nginx and docker swarm for beginners .

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

      Hi Madhu, thanks for your suggestion will consider it 👍

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

    love u

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

    Thanks for the video , but isn't it better to use yml instead of the cli ?

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

    what is the difference between the following commands?
    $kubectl create deployment nginx1 --image=nginx
    AND
    $kubectl run nginx --image=nginx

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

    it's amazing all , but i would like to know how can i to create multinodes with minikube. tks for your videos

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

    hi, at 10:01 idk what root user I have to key in there. how to obtain that root user for my laptop? thanks

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

    is this a Latvian or Austrian flag in the top right handside of screenshare?

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

    thank u Nana , can u please make a new video to explain Kubernetes Jobs .

  • @amankhan-ku3zd
    @amankhan-ku3zd 7 หลายเดือนก่อน

    Hey, your content is really good. Is it possible to get the ppt ?

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

    Finally found your videos you did a great job ! can i get from a local docker image an deployment ? instead of docker hub ?

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

    Hi,
    Your knowledge sharing skill is wonderful.
    I am keep leaning better.
    I want to thank you for this.
    My doubt on this session :
    After creating a new config.yaml file there will be two pods both updated and the old ones.
    Now which one of these will be executed by K8 in default condition?

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

    How do we exec into a multi container pod? and also follow logs for one container in a multi container pod ? by default the exec command and the logs command will show the logs or exec into the first container in the pod

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

      Kubectl exec [pod_name] [container_name]

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

    strict decoding error: unknown field "spec.selector.template" error find during kubectl apply -f nginx-deployment.yaml

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

    @TechWorld with Nana please clear this doubt. We learned that pod can have 1 or more than 1 container inside it. But in K8 smallest unit is pod. How we can go inside particular container inside pod? In case of multiple container inside pod. Kubectl exec -it podname will login to which container?

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

      I got answer from your another lecture Pods and Containers - Kubernetes Networking | Container Communication inside the Pod

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

      th-cam.com/video/5cNrTU6o3Fw/w-d-xo.html

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

    Thanks for the video, however can I ask if I'm using AWX and create a Directory to minikube - but seems the directory is not visible either to the linux host or the minikube container? am I missed something? thanks in advnace.

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

    kubectl apply -f nginx-deployment.yaml
    commnand is giving error : error parsing nginx-deployment.yaml: error converting YAML to JSON: yaml: line 11: did not find expected key. Please help!!!!!

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

    Thanks for this video. The config file that you created with the command "vim nginx-deployment.yaml", is this like a default syntax or do you have to write code from scratch?

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

    One doubt in it. Earlier you told that Database pods will use Stateful Component but in this video you use Deployment Component for Mongo db right ?

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

    tried to execute kubectl create deployment nginx-depl --image=nginx and get Error from server, service could not find the requested resource. Any ideas what is the fix?

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

    How to upload files from local host to pods in cmd modes

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

    You've done a perfect job for beginners like me thanks a lot. I want to know how we create a deployment using yaml file? I want to deploy an application using deployment.yaml file using kubectl commands please.

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

      Thanks! You can follow the playlist, I have covered all the topics that you mentioned in other videos 🙂

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

    Hallo, how can i access my application with ip my computer or ip cluster? thanks

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

    Hi Nana,
    Git repo link of all the commands .... here i am not able to see any file...

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

    i need reaming sessions where can i find

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

    nginx deployment file is here kubernetes.io/es/docs/concepts/workloads/controllers/deployment/

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

    Hey Nana, I am getting an error while doing the deployment, It says ImagePullBackOff Error. What could be the possible reason for such an error? And how do we debug and fix it?

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

      My guess is that you wrote 'image=nginx:1.16' verbatim as seen when editing the yaml file at 6:12, but you should instead be using nginx:1.18 or newer (depending on how old my comment is). Check the nginx page on Docker Hub (hub.docker.com/_/nginx ) and see the supported tags section (i.e. supported images from which kubernetes will automatically try to pull the docker image from, assuming a match is found). The page no longer contains v1.16, but the image probably existed when the video was made.

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

    Thanx.
    Is each replica has seperate pod?

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

    Is Kubernetes cluster equally to a node, right?

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

      1 pod can contain many containers, right?

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

    every time i save i have this error
    > kubectl edit deployment nginx-depl
    error: deployments.apps "nginx-depl" is invalid
    A copy of your changes has been stored to "/tmp/kubectl-edit-3zmtr.yaml"
    error: Edit cancelled, no valid changes were saved.

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

      never mind was adding a tab at the beginning od - image when i add : after nginx

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

    I wrote the code as it is as you have suggsted:
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    name: nginx-deployment
    labels:
    app: nginx
    spec:
    replicas: 1
    selector:
    matchLabels:
    app: nginx
    template:
    metadata:
    labels:
    app: nginx
    spec:
    containers:
    - name: nginx
    image: nginx:1.16
    ports:
    - containerPort: 80
    please let me know where i have gone wrone

  • @sun-prairie
    @sun-prairie 3 ปีที่แล้ว +2

    Thank you Nana for the execellent tutorial!!

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

    This is such wonderful tutorial series.love this

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

      Thanks Tim, glad the video series is helpful for you 🙂

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

    Happy to learn here :)

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

    This is what I need! Skip lousy and duplicate intro and go into real command operations directly!

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

    cannot wait for your tutorials

  • @amankumar-jb1up
    @amankumar-jb1up 4 ปีที่แล้ว

    How to start and Stop pods