Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]

7,863,455
991
Published 2020-11-06
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#installation

🔥 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
► No

All Comments (21)
  • 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 ► youtube.com/playlist?list=PLy7NrYWoggjxqLwqmbE-gGu… ▬▬▬▬▬▬ 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
  • @vshekhar25
    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!
  • @DavidOkwii
    No skipping Ads on this one. The author should properly be compensated for such a great tutorial.
  • This 1 big video tutorial is far better than the complete official K8 documentation. Thank you for making this available for free for everyone.
  • It's so refreshing to see content that is straight to the business and focuses solely on the subject matter without any unnecessary product placement distractions. Not only that, but the amount of super valuable information provided in such a clear and understandable manner is truly impressive. The diagrams, pictures, and code examples are all incredibly well-prepared and made available for download, making it even easier to follow along and understand the material. Overall, I have to say WOW - this is some seriously great content!
  • For those of you, who got stuck at 2:13:00 and cannot follow along the course, because there is no kubernetes-dashboard in kubernetes. Just execute '$minikube dashboard' and K8s will generate it for you automatically
  • @brunoc.3669
    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.
  • @bhaskarbhanu2
    Perhaps one of the best YouTube tech tutorials, so organised and very easy to follow and remember
  • @VictorS
    My full team is watching this. Really good content, happy to support your work.
  • No other k8s training required after this training. I am lucky to find such channel👍
  • I can confidently say that this is probably the best kubernetes tutorial you can find on YouTube
  • Excellent The best tutorial I have ever taken. Structured, easy to go back to, clear examples, keeping it essential, but not trivial. Love it!
  • @copypaiste
    Thank you for this course! So nicely presented, not superficial and not overwelming.
  • 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!
  • @murugesh96
    Wow, this Kubernetes tutorial is incredibly informative and well-explained! I've been struggling to understand Kubernetes, but your tutorial has made it so much clearer. The examples you've provided are really helpful in illustrating the concepts. Thank you for taking the time to create this tutorial and share your knowledge with us. I can't wait to dive deeper into Kubernetes with your guidance!
  • 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 ❤️
  • @radovanthefoley
    The best tutorial I have ever taken. Structured, easy to go back to, clear examples, keeping it essential, but not trivial. Love it!
  • @scottwood1143
    Wow! What a great and thorough introduction to Kubernetes. Thank you for making this available 😃🙏
  • @hovelfrog
    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!