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



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:
https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/tree/master/basic-kubectl-commands

——————————————————————————————————-
What is Kubernetes? 👉🏼 https://youtu.be/VnvRFRk_51k
Kubernetes Components explained? 👉🏼 https://youtu.be/Krpb44XR0bk

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: https://www.youtube.com/playlist?list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb

————————————————————————————-

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 Youtube: https://www.youtube.com/channel/UCdngmbVKX1Tgre699-XLlUA
on DEV: https://dev.to/techworld_with_nana
on Instagram: https://www.instagram.com/techworld_with_nana/ or my personal account: https://www.instagram.com/nanuchij/
on Twitter: https://twitter.com/Njuchi_/
on Tumblr: https://www.tumblr.com/blog/techworld-with-nana

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.

source

36 thoughts on “Kubectl Basic Commands – Create and Debug Pod in a Minikube cluster | Kubernetes Tutorial 18”
  1. 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 😊

  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?

  3. 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 ?

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

  5. 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.

  6. 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?

  7. 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!!!!!

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

  9. 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.

  10. 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

  11. 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.

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

  13. 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

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

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

Leave a Reply

Your email address will not be published.

Captcha loading...