Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]

21 Comments



Full Kubernetes Tutorial | Kubernetes Course | Hands-on course with a lot of demos
💙 Become a Kubernetes Administrator – CKA: https://bit.ly/k8s-administrator-course
💚 Become a DevOps Engineer – full educational program: https://bit.ly/3gEwf4V
🧡 Udemy courses: http://bit.ly/3nIouPW

#kubernetes #techworldwithnana

Connect with me 👋
INSTAGRAM ► https://bit.ly/2F3LXYJ
LINKEDIN ► https://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): https://bit.ly/38bLcJy
– Install Kubectl: https://bit.ly/32bSI2Z
– Gitlab: If you are using Mac, you can follow along the commands. I listed them all here: https://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

🔗 Links:
– Git repo link of all the commands: https://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

🔗 Links:
– Git repo link: https://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

🔗 Links:
– Git repo link: https://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

🔗 Links:
– Install Kubectx: https://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: https://bit.ly/3mJHVFc
– Ingress Controllers: https://bit.ly/32dfHe3
– Ingress Controller Bare Metal: https://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: https://hub.helm.sh/
– Helm charts GitHub Project: https://github.com/helm/charts
– Install Helm: https://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)

🔗 Links:
– Git Repo: https://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

source

21 Comments
    • blank
      MizOwish
      May 04, 2022 23:26 pm Reply

      I got error messages in the 'Demo Project: MongoDB and MongoExpress' part. Said crashlooperror and couldn't start. Setting image to a certain version solved it for me: image: mongo:4.2.10 in the mongo.yml file.

    • blank
      LEndy
      May 04, 2022 23:26 pm Reply

      Köszönjük!

    • blank
      Heng Li
      May 04, 2022 23:26 pm Reply

      Thanks a lot for this great tutorial

    • blank
      anaparthi naresh babu
      May 04, 2022 23:26 pm Reply

      Wow Wow Wow .. very well organised .. Best K8s training .. Thank you so much

    • blank
      Jayant Khanna
      May 04, 2022 23:26 pm Reply

      Wonderfull tutorial, awsome!! .. Have one question regards to StatefullSet.. Can there be more then one Master then how the things works.. because one master will basically become bottleneck.

    • blank
      Shabir Mamodraza
      May 04, 2022 23:26 pm Reply

      Do you have the setup steps for minikube for mac m1?

    • blank
      Oooga Booga
      May 04, 2022 23:26 pm Reply

      Beautiful, thank you teacher

    • blank
      Sameer Shanker
      May 04, 2022 23:26 pm Reply

      Great video..just watch only 30 mins,will continue to watch approx 30 min daily

    • blank
      Alpha Centauri
      May 04, 2022 23:26 pm Reply

      Thank you very much!

    • blank
      Gabriele Guo
      May 04, 2022 23:26 pm Reply

      I get CrashLoopBackOff whenver I apply and create the deployment for mongodb. 🤔🤔

    • blank
      Bhargava Marpina
      May 04, 2022 23:26 pm Reply

      Glad, I ended up at this tutotrial as soon I searched regarding Kubernetes. Awesome explanation, Nana..!

    • blank
      Manoj Jayadevan
      May 04, 2022 23:26 pm Reply

      Thanks!

    • blank
      Arnab Sen
      May 04, 2022 23:26 pm Reply

      great stuff. so nicely expained.

    • blank
      Shiran Maor
      May 04, 2022 23:26 pm Reply

      Really helpful video, thank you for publishing it

    • blank
      Amitava Ghosal
      May 04, 2022 23:26 pm Reply

      Great video …. Really liked it

    • blank
      stephcooly B
      May 04, 2022 23:26 pm Reply

      I hate it because I like it so much. Good work.

    • blank
      Nakul Agham
      May 04, 2022 23:26 pm Reply

      I can't thank you enough for this incredible content !
      Wow it's a one stop guide to k8.
      #Respect

    • blank
      Christian GoAnd
      May 04, 2022 23:26 pm Reply

      Would love to give a thumbsup to each section of the tutorial. This is golden.

    • blank
      sunroof
      May 04, 2022 23:26 pm Reply

      Nana thanks!

      Ps.
      can somebody please explain in an easy way the meaning of "blueprint for my-app pods". Especially meaning of blueprint. Cannot understand.
      (I am not native speaker)

    • blank
      Shahin M. E.
      May 04, 2022 23:26 pm Reply

      thanks a lot for this very useful content. it helped me to learn much more in deep about kubernetes.

Leave us a comment