Kubernetes for Beginners

Video description

Kubernetes is now a de-facto standard for the deployment of the containerized applications into the production and it is the must-know tool for all DevOps engineers and software developers who want to learn how to run and test their applications in production.

During this course, you will also perform practical tasks like creating a Kubernetes cluster locally on your computers using Minikube, managing the Kubernetes cluster using kubectl, creating pods, analyzing how they are assigned to nodes, and examining their internals.

You will also learn to create deployments and observe how Kubernetes automatically creates necessary pods for this deployment, scale deployments, monitor deployments, and observe what happens when some of the pods fail.

Furthermore, you will create services to be able to connect to the deployments both internally and externally and launch the Kubernetes dashboard. Also, in practice activities, you will learn how to deploy applications in Kubernetes following the declarative approach and you will be able to create and apply YAML configuration files for the deployments and for the services.

By the end of the course, you will be able to modify deployments and services by making changes to the YAML configuration files and re-applying them.

What You Will Learn

  • Understand Kubernetes and its architecture
  • Learn what node, pod, services, and deployments are
  • Learn to create a Kubernetes cluster
  • Learn to manage a cluster using the Kubernetes dashboard
  • Create pods using command lines
  • Learn to connect to pods and explore their internals

Audience

This course can be taken by DevOps engineers who want to learn how to use Kubernetes. Software developers who want to learn how applications behave in the Kubernetes cluster. Basic knowledge of Docker is required.

About The Author

Bogdan Stashchuk: Bogdan Stashchuk is an experienced instructor (over 20+ years) with a software engineering background. He teaches complex stuff in an easy step-by-step manner. All his courses include practical exercises, which allow the learners to follow him from the start of any course till the end. Learners will perform all tasks the same way he does in his video lectures. There are a lot of challenging assignments, the solutions for which are discussed inside the course. This is the perfect combination that enables you to really learn and retain gained knowledge for a long period of time.

Table of contents

  1. Chapter 1 : Course Introduction
    1. Kubernetes for Beginners Introduction
  2. Chapter 2 : Kubernetes Overview
    1. What Is Kubernetes?
    2. What Is Pod?
    3. Kubernetes Cluster and Nodes
    4. Kubernetes Services
    5. What Is kubectl?
  3. Chapter 3 : Minikube Installation
    1. Software Required for This Course
    2. Installing Kubectl
    3. Installing Minikube
  4. Chapter 4 : Kubernetes Cluster
    1. Creating Kubernetes Cluster Using Minikube
    2. Exploring the Kubernetes Node
  5. Chapter 5 : Pod Creation
    1. Creating Just a Single Pod
    2. Exploring Kubernetes Pod
    3. Creating Alias for the Kubectl Command
  6. Chapter 6 : Deployment Creation
    1. Creating and Exploring Deployment
    2. Scaling Deployment
    3. Connecting to One of the Pods Using Its IP Address
  7. Chapter 7 : Service Creation
    1. What Is Service?
    2. Creating and Exploring ClusterIP Service
    3. Connecting to the Deployment Using ClusterIP Service
  8. Chapter 8 : Deployment and Service Deletion
    1. Deleting Deployment and Service
  9. Chapter 9 : Running Node.js Application Using K8S
    1. Creating Node Web Application
    2. Dockerizing Node Application
    3. Pushing Custom Image to the Docker Hub
    4. Creating Deployment Based on the Custom Docker Image
    5. Scaling Custom Image Deployment
    6. Creating NodePort Service
    7. Creating LoadBalancer Service
  10. Chapter 10 : Rolling Updates and Pods Recovery
    1. Rolling Update of the Deployment
    2. What Happens When One of the Pods Is Deleted?
  11. Chapter 11 : Kubernetes Dashboard
    1. Kubernetes Dashboard
  12. Chapter 12 : YAML Specification Files
    1. Creating YAML Deployment Specification File
    2. How to Use Kubernetes Documentation?
    3. Applying YAML Deployment File
    4. Creating YAML Service Specification File
  13. Chapter 13 : Multiple Deployments Creation
    1. Plan for the Creation of the Two Deployments
    2. Creating another Web App with Two Endpoints
    3. Building Custom Docker Image for the Second Web App
    4. Creating YAML Service Specification File
    5. Creating YAML Specifications for the NGINX App
    6. Applying Specifications for Both Apps
  14. Chapter 14 : Interaction Between Deployments
    1. Verifying Connectivity Between Different Deployments
    2. Resolving Service Name to IP Address
    3. Deleting Both Applications
  15. Chapter 15 : CRI-O Container Runtime
    1. Changing Container Runtime from Docker to CRI-O
    2. Deploying Apps Using CRI-O Container Runtime
    3. Verifying Connectivity Between Deployments
  16. Chapter 16 : Course Summary
    1. Wrap-Up

Product information

  • Title: Kubernetes for Beginners
  • Author(s): Bogdan Stashchuk
  • Release date: May 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781804616475