Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
Вставка
- Опубліковано 8 тра 2024
- Full Kubernetes Tutorial | Kubernetes Course | Hands-on course with a lot of demos
💙 Become a Kubernetes Administrator - CKA: bit.ly/3MQtij9
💚 Become a DevOps Engineer - full educational program: bit.ly/3MRjKEE
💜 Become a DevOps expert and 10x your value: bit.ly/47lR9zx
🧡 Udemy courses: bit.ly/3BQkjbz
#kubernetes #techworldwithnana
Connect with me 👋
INSTAGRAM ► bit.ly/2F3LXYJ
LINKEDIN ► bit.ly/3hWOLVT
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Course Overview
2:18 - What is K8s
5:20 - Main K8s Components
22:29 - K8s Architecture
34:47 - Minikube and kubectl - Local Setup
44:52 - Main Kubectl Commands - K8s CLI
1:02:03 - K8s YAML Configuration File
1:16:16 - Demo Project: MongoDB and MongoExpress
1:46:16 - Organizing your components with K8s Namespaces
2:01:52 - K8s Ingress explained
2:24:17 - Helm - Package Manager
2:38:07 - Persisting Data in K8s with Volumes
2:58:38 - Deploying Stateful Apps with StatefulSet
3:13:43 - K8s Services explained
▬▬▬▬▬▬ COURSE OVERVIEW 📚 ▬▬▬▬▬▬
🔥 What is Kubernetes 🔥
► What problems does Kubernetes solve?
► What features do container orchestration tools offer?
🔥 Main K8s Components 🔥
► Node & Pod
► Service & Ingress
► ConfigMap & Secret
► Volumes
► Deployment & StatefulSet
🔥 K8s Architecture 🔥
► Worker Nodes
► Master Nodes
► Api Server
► Scheduler
► Controller Manager
► etcd - the cluster brain
🔥 Minikube and kubectl - Local Setup 🔥
► What is minikube?
► What is kubectl?
► install minikube and kubectl
► create and start a minikube cluster
🔗 Links:
- Install Minikube (Mac, Linux and Windows): bit.ly/38bLcJy
- Install Kubectl: bit.ly/32bSI2Z
- Gitlab: If you are using Mac, you can follow along the commands. I listed them all here: bit.ly/3oZzuHY
🔥 Main Kubectl Commands - K8s CLI 🔥
► Get status of different components
► create a pod/deployment
► layers of abstraction
► change the pod/deployment
► debugging pods
► delete pod/deployment
► CRUD by applying configuration file
🔗 - Git repo link of all the commands: bit.ly/3oZzuHY
🔥 K8s YAML Configuration File 🔥
► 3 parts of a Kubernetes config file (metadata, specification, status)
► format of configuration file
► blueprint for pods (template)
► connecting services to deployments and pods (label & selector & port)
► demo
🔗 - Git repo link: bit.ly/2JBVyIk
🔥 Demo Project 🔥
► Deploying MongoDB and Mongo Express
► MongoDB Pod
► Secret
► MongoDB Internal Service
► Deployment Service and Config Map
► Mongo Express External Service
🔗 - Git repo link: bit.ly/3jY6lJp
🔥 Organizing your components with K8s Namespaces 🔥
► What is a Namespace?
► 4 Default Namespaces
► Create a Namespace
► Why to use Namespaces? 4 Use Cases
► Characteristics of Namespaces
► Create Components in Namespaces
► Change Active Namespace
🔗 - Install Kubectx: github.com/ahmetb/kubectx#ins...
🔥 K8s Ingress explained 🔥
► What is Ingress? External Service vs. Ingress
► Example YAML Config Files for External Service and Ingress
► Internal Service Configuration for Ingress
► How to configure Ingress in your cluster?
► What is Ingress Controller?
► Environment on which your cluster is running (Cloud provider or bare metal)
► Demo: Configure Ingress in Minikube
► Ingress Default Backend
► Routing Use Cases
► Configuring TLS Certificate
🔗 Links:
- Git Repo: bit.ly/3mJHVFc
- Ingress Controllers: bit.ly/32dfHe3
- Ingress Controller Bare Metal: bit.ly/3kYdmLB
🔥 Helm - Package Manager 🔥
► Package Manager and Helm Charts
► Templating Engine
► Use Cases for Helm
► Helm Chart Structure
► Values injection into template files
► Release Management / Tiller (Helm Version 2!)
🔗 Links:
- Helm hub: hub.helm.sh/
- Helm charts GitHub Project: github.com/helm/charts
- Install Helm: helm.sh/docs/intro/install/
🔥 Persisting Data in K8s with Volumes 🔥
► The need for persistent storage & storage requirements
► Persistent Volume (PV)
► Local vs Remote Volume Types
► Who creates the PV and when?
► Persistent Volume Claim (PVC)
► Levels of volume abstractions
► ConfigMap and Secret as volume types
► Storage Class (SC)
🔗 - Git Repo: bit.ly/2Gv3eLi
🔥 Deploying Stateful Apps with StatefulSet 🔥
► What is StatefulSet? Difference of stateless and stateful applications
► Deployment of stateful and stateless apps
► Deployment vs StatefulSet
► Pod Identity
► Scaling database applications: Master and Worker Pods
► Pod state, Pod Identifier
► 2 Pod endpoints
🔥 K8s Services 🔥
► What is a Service in K8s and when we need it?
► ClusterIP Services
► Service Communication
► Multi-Port Services
► Headless Services
► NodePort Services
► LoadBalancer Services
If this course was helpful for you, please leave a like and subscribe 😊🙏
💙 Become a Kubernetes Administrator - CKA: bit.ly/3MQtij9
💚 Become a DevOps Engineer - full educational program: bit.ly/3MRjKEE
🧡 Udemy courses: bit.ly/3BQkjbz
🔗 Useful Links:
► Main Kubectl Commands - K8s CLI Git repo: bit.ly/3oZzuHY
► K8s YAML Configuration File Git repo: bit.ly/2JBVyIk
► Demo project Git repo: bit.ly/3jY6lJp
► Kubernetes Ingress Git Repo: bit.ly/3mJHVFc
► Kubernetes Volumes Git Repo: bit.ly/2Gv3eLi
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join the private Facebook group ► bit.ly/32UVSZP
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
DevOps Tools, like Terraform, Prometheus ► bit.ly/2W9UEq6
Jenkins Pipeline Tutorials ► bit.ly/2Wunx08
Kubernetes on Cloud ► ua-cam.com/play/PLy7NrYWoggjxqLwqmbE-gGuxpo0nWZqCi.html
▬▬▬▬▬▬ Courses & Ebooks & Bootcamp 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/3gEwf4V
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3nIouPW
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3mPIaiU
Hello Nana, Appreciate your efforts in putting up this course. Can you also provide a section here on pre-requisites to learn Kubernetes? Is this for a techie or even a non-techie can take this course? These info will be very helpful.
Hello, Nana , Thanks for your contribution to the community, I am in love with your videos
Thanks 🙏
What is the version of k8s in this tutorial?
Excellent Nana.
So you recorded over 3.5 hours of excellent content without any fillers or fluff + posted on youtube without monetizing with adds? Hats off to you!
ua-cam.com/video/RWvYlrI3iPM/v-deo.html
Can we also get the slides presented s it would be good to revise?
shes building her brand
you live a weird life, my friend.
coz she do not need ours money, that's great !
No skipping Ads on this one. The author should properly be compensated for such a great tutorial.
You are 100% right. I just watched a full 2 minute long add just because of this
I'm watching over Yt Vanced, sorry
Does skipping ads makes difference?
@@ronakpatel4909 yeah more ads watchtime = more money for creator
@@ronakpatel4909 they aren't payed for skipped ads, you just wasted time, bandwidth and electricity
Excellent The best tutorial I have ever taken. Structured, easy to go back to, clear examples, keeping it essential, but not trivial. Love it!
This is master piece, i am not used to watch long tutorials but you made an absorbing one, so much respect and love to you Nana ❤️
The problem with this big long video is that I can like it only once! 😁
It's extremely well organised, crystal clear... and free! Thank you so much for your amazing work.
ALL tutorial creators should strive to meet this standard ... I have NEVER seen anything THIS complete and well done. Kudos to "TechWorld with Nana" 🏆💎💎💎
The best tutorial I have ever taken. Structured, easy to go back to, clear examples, keeping it essential, but not trivial. Love it!
I appreciate you being jokes-aside and to the point. So rare on youtube. No dumb comparisons, no side notes and no memes.
This is an amazing course. Fast paced, detailed and very well thought through. Nana is an expert with great communication.
Thank you for this course! So nicely presented, not superficial and not overwelming.
The best course out there on Kubernetes. The animations, graphics and demos made every concept easy to understand. Nana has a gift for explaining things clearly.
Love your teaching, clear, well structured, concise and zero non-sense !!!
This course is great. I am working my way through it now. An excellent technical overview of K8s with hands on demos to reinforce learning. Thanks, Nana.
The best ever course on Kubernetes. Appreciate your effort and time. I have added your other tutorials to my watch lists and I am sure I am gonna be loaded with knowledge I was searching for! It really helps a university student like me. Thanks Nana !
Nana, thanks for sharing this amazing gift you have for simplifying complex topics. You are so articulate and your mastery of the concepts shows in your delivery of the topics. I am a fan!
Brilliant! I can understand the effort that has gone behind in creating such an extensive tutorial. Thanks a ton, Nana!
Nana, thanks for this wonderful content on K8s - you've just nailed the concept in this crash course. Kudos and keep up the good work.
What an amazing tutorial. I'm halfway through, and I've learned so much, and so well. Thank you for making this!!
Wow! What a great and thorough introduction to Kubernetes. Thank you for making this available 😃🙏
Beautiful ! What a clear, crisp detailed tutorial. Slides, content , your voice , everything is a masterpiece. I always look for your videos when I want to learn new concepts.
I am utterly amazed and have no words to thank you Nana for this great course. 🥰
Amazing stuff! This is one of the best tech youtube content I watched without boredom. You had a talent to demo complex topics in ease. Thank you for making this conent open for everyone!
Wow, this is such a great tutorial So easy to follow, clear, well-prepared, beautiful !
thank u soo much nana. reading docs are sometimes so confusing but your animations are really so much helpful. so much work u put into this. thank u really!
Thank you very much Nana. The content is systematically structured right from basics to advanced topics , which is an ode to your clarity of thought and presentation, so that even novices can also get the nuances of k8s. Thank you . Wishing you a successful career and a fulfilled life.
I have been searching for k8s training material for a while and I would say this is by far the most friendly, easy-to-understand, well-structured k8s tutorial for beginners. Keep going, Nana.
Your communication skills surpass every other youtubers. Clear and effective.
Thanks once again for the brilliant content
This is my first encounter of learning Kubernetes and I am very glad came across this tutorial. Thanks Nana for putting our such a great content, simplifying the complexities and making us enjoy what we are learning. Big Thumbs up to you..
This tutorial is by far the best one that I have seen. Crisp, precise and totally on point Thank you so much.
It's amazing to see someone who is willing to give so much without asking. Thank you so much, I learned so much thanks to you.
Just like I've told people that Code Complete is the quickest 1,000 pages they'll ever read, your tutorial is the quickest 4 hour video I've ever watched. Well structured without diving into too many details out of the gate. Thanks a bunch for putting this together!
Kudos! You're an exceptional educator - clear, concise and extremely useful!
@TechWorld with Nana, you've been fantastic in your explanation of key concepts in K8s. Well organized. Kudos!
Absolutely amazing content. Thank you so much to make this information available for free. It really helped me a lot to prepare for the interviews
This is awesome. I'm struggling with my first real devops position and this is helping a lot. I like that you get straight to the point and explain things clearly in an engaging manner. Thanks!
It's 2023 and this crash course is still amazing, thank you Nana!
Your way of presenting information is great.
Proper tempo, easy to listen, i don't have to speed up playback and I am not bored quickly - just perfect
Thank you
My full team is watching this. Really good content, happy to support your work.
That's really great to hear and thank you for your support Victor!
This has to be the best Kubernetes for beginners video I have ever seen. 4 hours of pure gold content. Thank you very much for such an amazing tutorial
Hands down one of the best tutorials I’ve seen. Thanks a lot!
I can imagine the effort needed to create all this, thanks a lot Nana! 👏👌
Thankyou:) for such an amazing course.Thankyou for making this. You are an amazing teacher
This is awesome! I'm getting started with k8s and learned a huge amount. Presentation is clear and comprehensive. Associated git repo makes it super easy to try demos myself. Thanks.
I keep coming back to this tutorial every time I get into kubernetes troubles.
Hats off Nana, Love from India, you're a freaking lifesaver!
What a great session. Thank you so much for all your efforts in explaining so well
Thank you ! Great lesson with perfect balance of demo and theory. Absolutely loved it !
Nana you are the best! I'm starting my first DevOps/tech job in a few weeks. I feel so confident after watching your videos. I will definitely support your Udemy courses. Keep up the good work
Have followed all of your tutorials, Docker, Devops and now Kubernettes. Thanks too small a word to express my gratitude.
Absolutely stunning explanation. Extremely thorough. Highly recommended!
I appreciate the efforts you took to build such a quality content. I found it very helpful and for all beginners this is the right video to start with.Thanks for making this.
By FARRRRR one of the best lessons of any kind I've found on the internet. This was super helpful.
My infinite Gratitude for both Docker and Kubernetes Full Courses. Both are my best-consumed content on UA-cam ever before with full satisfaction in my life.
Thanks Very much, Nana☺
An excellent tutor and her teaching give the highest form of understanding. As Nana teaches!! Many lean to learn from her.
I usually hate lectures.. but you capture me with the content. Appreciate you for the skills of tutoring. Really good.
Never came across any better explanation of kubernetes concepts. You are amazing. Just love your video!!
What a lovely tutorial!! I struggled in my office work and now there is a ray of hope. My best wishes to the author!!
Well structured with great teaching.Awesome! Thank you 👏
Thank you for this great and awesome content !
Very clear and very well structured !
I've learned a lot and I will certainly come back to this video when I will go for practice!
This was such an amazing course on K8s, loved it. Thank you Nana ❤
WOW! That's what I call an excellent course, probably one of the best on YT. Thank you for sharing this info.
On of the best tutorial ever.
Simple and very well explained, great examples. After this tutorial, you get a great knowledge about kubernetes principals, terminology and clear picture of how it works, how to use it.
Bravo Nana!
This is truly the best tutorial I've seen. Thank you very much Nana.
The most useful 4 hours of watching I have ever spent, Thanks a million!
Thanks a lot for creating this video and sharing it for free Nana! This video not only explains concepts clearly, but also make them memorable.
Amazing. 2 hours in and I have learned SO SO SO much. Thank you for everything that you do Nana!! You are amazing.
it's 2022 and still the best Kubernetes tutorial ❤
Fantastic course even after 2 years! Truly gifted in teaching.
This video is really helpful if you wanna learn Kubernetes. This is the first tutorial that I started off with in learning Kubernetes and I am really impressed with it. Also the description with all the helpful links, time stamps shows the effort you have put into this tutorial. Thank you for this video. I am really glad I chose this video to start learning Kubernetes.
Such detailed, easy to follow and grasp animations of complex topics explained flawlessly.Truky gifted teacher.Thanks for the knowledge
What an amazing content for beginners...Hats off to you for putting so much effort to compile such an amazing tutorials..Thank you so much!!!
Congratulations on a fantastic course on kubernetes. I am a rank beginner and after watching this video, I consider myself an intermediate in k8s. Your way of explaining concepts with examples is perfect and easily understood. Thank you for this video. This was fantastic. Looking forward to watching more such videos
Thank you so much for explicit explanation this material and using schemes rather than a huge amount of text. Special thanks for the author pronunciation. I'm not a native speaker, but I didn't need to use subtitles. That's great! Thank you!
Excellent is all I can say. I did not get this level of explanation even in a paid course. Very well done. Thanks and God bless you Nana.
I didn't knew kubernetes was this easy. Can't thank you enough for creating such easy to follow videos. 💯
Straight to the point, well explained, covered every detail. Best tutorial on Kubernetes. Can you please do a series on GCP?
Oh my gosh. The best course from Kubernetes. Thank you a lot. I have 1 week to start in a new project and with one day i could get it.
One cannot get a better content than this. You absolutely made it look so easy to understand and work on. Hats-off to your content, course management, presentation and knowledge. Keep up the good work. Thanks.
The only 3+ hour video I've ever watched on UA-cam, you are an amazing instructor, truly love your content! Many thanks!
Thanks so much Ameya for your support! :)
Excellent contribution to k8s community. A 4 hour long video without any ads, how refreshing. Thank you very much Nana. I would love to contribute to your cause, but I am not aware how.
I haven't completed half of the video and my doubts and confusion are already resting at dead point. So lucid and detailed
This Kubernetes tutorial was crystal clear and well explained. This was really helpful.
Just loved the way you teach concepts. Thank you, Nana.
I loved the way you are explaining the concepts with animations.👏👏. Keep it up your good work.
Thank you very much for explicit explanation this hard material and using schemes rather than a huge amount of text. Special thanks for the author pronunciation. I'm not a native speaker, but I didn't need to use subtitles. That's great! Thank you!
what an awesome video, I am halfway through and already learned a whole lot, this is amazing 🎉 thanks, Nana! for the time and effort put into making this masterpiece 👌
ua-cam.com/video/RWvYlrI3iPM/v-deo.html
I would like to say extremely grate "Thank you" - very clear explanations, wonderful images and examples! God bless you and your kubernetes cluster! :)
This type of content is invaluable - thank you! Keep it coming 😊
Got here after I watched the GitLab tutorial. What can I say? Example of great content! Big thank you to Nana (and everyone behind this amazing channel) for sharing her knowledge and keep up the good job!
No other k8s training required after this training. I am lucky to find such channel👍
Great to hear! Glad you found my channel too 😊
@@TechWorldwithNana Really awesome view. Thanks Nana
@@TechWorldwithNana
good evening, thanks for the video!! one the bests, even for a newbie like me! just 1 question: i'am at minute 1.44.55 (tried to create a full deployment with mongodb, but i have errors!!) the browser keep asking me credentials after launching minikube service eccecc... so where i can find those infos? i tried also to put them not coded, or removed comments.
#help!!
i'll try to remake from 1.16.00 (start of example) till this point. maybe i forgot something.
thanks again. i apreciate a lot this kind of contents.
if well followed or learned can be very useful in certifications or job activities
logs of creating the mongo expr yaml
i followe min by min, step by step. just a the versione mong image (4.4.6. instead of 5+, because of AVX error).
C:\Users\oskal\esempio_mongo_expr_k8s>k logs mongo-express-859f75dd4f-bhvnq
Waiting for mongo:27017...
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:15 UTC 2024 retrying to connect to mongo:27017 (2/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:16 UTC 2024 retrying to connect to mongo:27017 (3/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:17 UTC 2024 retrying to connect to mongo:27017 (4/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:18 UTC 2024 retrying to connect to mongo:27017 (5/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:19 UTC 2024 retrying to connect to mongo:27017 (6/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:20 UTC 2024 retrying to connect to mongo:27017 (7/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:21 UTC 2024 retrying to connect to mongo:27017 (8/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
Tue Mar 5 00:06:22 UTC 2024 retrying to connect to mongo:27017 (9/10)
/docker-entrypoint.sh: connect: Connection refused
/docker-entrypoint.sh: line 15: /dev/tcp/mongo/27017: Connection refused
what can i do ?
thanks a lot!
oussama
Wow!! Every topic explained is so precise and accurate 👌
Thank you Nana for the great training material. The way you organized the topics and presented was very helpful to understand and relate the topics as well.
Absolutely fantastic tutorial, covered everything I needed to not feel overwhelmed. Even two years later, worth watching. Fantastic work!
Thank you! Happy to read such amazing feedback! 🙏💙
Amazing work ! Perfect flow and crystal clear explanations !
Love it-- ! So easy to understand complex topics when you explain them so well.
I am 45 mins in this is already a great class. I highly appreciate your efforts. God bless you. ❤
I can confidently say that this is probably the best kubernetes tutorial you can find on UA-cam
This is the kind of material that can change someone's career. Got a new position in my company after watch these classes.
Thanks!
I like how you explain things. The problem-solution paradigm you use to explain every idea/concept is so efficient because it fits our why-questions-oriented minds. Thank you Nana for this very helpful video :)
5 other Kubernetes videos washed over the top of me, while Nana's organization & continuous visual aids made learning Kubernetes not only attainable but an enjoyable experience...
I believe a big difference is her knowledge & understanding of the intricacies & their correlation becomes clear with her ability to break down the concepts & infor into easily digestible pieces. Thank you very much!
Nana , amazingly put together , very clearly explained , you rock !