Kubernetes and Docker: The Container Masterclass

Video description

Containers are empowering businesses to scale fearlessly and manage their web applications hassle-free. They are the prime reason why micro and small enterprises are migrating to the cloud. All of this has undoubtedly led to an enormous demand for professionals with containerization skills. This course is a comprehensive explanation of what you should do to successfully build and run containerized applications using Docker and Kubernetes.

The course starts with an introduction to Docker and explains how it helps in developing web applications. Next, you will explore the architecture of Docker and become familiar with Docker images, Docker files, and containers. Moving along, you will work with the Container Networking Model (CNM) and Docker storage and get an introduction to Docker Compose. Towards the end, you will learn to perform container orchestration with Docker Swarm and pods and get to grips with the concepts of Kubernetes.

By the end of this course, you will have all the skills needed to build, deploy, and manage containerized web applications on local premises and on the cloud using Kubernetes and Docker.

What You Will Learn

  • Write your Docker files and Docker Compose files
  • Create a single-node Kubernetes cluster on local machines using minikube
  • Leverage advanced orchestration options of Kubernetes
  • Understand and implement different workloads on Kubernetes
  • Manage Kubernetes on the cloud with Google Kubernetes Engine (GKE)
  • Containerize and deploy multi-tier applications, such as Apache Zookeeper

Audience

If you are a software engineer, system admin, or DevOps engineer, who is looking to learn Docker and Kubernetes to make your web application deployment faster, cheaper, and more reliable, this course is for you. Basic knowledge of Linux command line and computer science is needed to get started with this course.

About The Author

Cerulean Canvas: Cerulean Canvas signifies the sky-sized scope of dreams and imagination where you can paint anything! Cerulean Canvas is a small group of believers who want to make an impact by doing what they are best at educating. Sounds like an old-school rock band, right? Well, that is the whole point! Education can bring evolution (information source: time itself) when it is delivered to aspiring minds with the utmost care. So, every book, every article, and every lecture they produce is a performance for them, and their priority is student satisfaction.

Table of contents

  1. Chapter 1 : Introduction
    1. Course Outline
    2. Making a Web Application
    3. Demo: Simple Web Application
    4. A Forest of Virtual Machines (VMs)
    5. Hello Containers
    6. Hello Docker!
    7. Demo: Installing Docker on Linux
    8. Demo: Containerizing a Simple Web Application
  2. Chapter 2 : Docker Architecture and Dockerfiles
    1. Stages of Containerization
    2. Working of Docker
    3. A Quick Look at the Format of a Dockerfile
    4. Demo: Fundamental Instructions of a Dockerfile
    5. Demo: Configuring a Dockerfile
    6. Demo: Execution Instructions of a Dockerfile
    7. Demo: Expose Instructions of a Dockerfile
    8. Demo: Miscellaneous Instructions of a Dockerfile – Part 1
    9. Demo: Miscellaneous Instructions of a Dockerfile – Part 2
  3. Chapter 3 : Docker Images and Containers
    1. Demo: Docker Hub Walkthrough
    2. Understanding Docker Images
    3. Working with Docker Images
    4. Demo: Know Your Docker Image | Inspect and History
    5. Demo: Cleaning up Docker Images
    6. A Container is Born!
    7. Container lifecycle
    8. Demo: Container Run versus Create
    9. Demo: Working with Containers - Starting, Stopping, Restarting, and Renaming
    10. Demo: Working with Containers – Attach and Exec
    11. Demo: Inspecting and Committing Container
    12. Demo: Container Exposure – Container Port Mapping
    13. Demo: Container Clean-up – Pruning and Removing
  4. Chapter 4 : Docker Networks – Making Containers Talk!
    1. Multi-container Applications and Introduction to Networking in Docker
    2. Container Networking Model (CNM) of Docker
    3. Docker's Native Network Drivers
    4. Demo: Creating Docker Networks
    5. Demo: Working with Docker Networks – Connecting, Disconnecting, Inspecting, and Cleaning
    6. Ping One Container from another
  5. Chapter 5 : Storage with Docker
    1. Never Lose a "Bit" of Your Data
    2. Demo: Working with Volumes - Creating, Listing, and Removing
    3. Demo: When Containers Meet Volumes
    4. Demo: Working with Bind Mounts
    5. Demo: Hosting the 2048 Containerized Game
  6. Chapter 6 : Docker Compose
    1. Introduction to Docker Compose
    2. Structure of Docker Compose
    3. Setting up Docker Compose
    4. Demo: WordPress on Docker Compose
    5. Demo: Introduction to Docker Compose Command Line Interface (CLI)
  7. Chapter 7 : Container Orchestration with Docker Swarm.
    1. Introduction to Container Orchestration and Docker Swarm
    2. Handling Swarm Failure
    3. Demo: Installing VirtualBox
    4. Demo: Installing Docker Machine
    5. Demo: Setting up the Swarm Cluster
    6. Demo: Initializing the Swarm Cluster
    7. Demo: Working with Swarm nodes – List and Inspect
    8. Demo: Creating a Service on Swarm
    9. Demo: Making a Node Leave Your Swarm
    10. Demo: Scaling and Updating with Swarm
  8. Chapter 8 : Introduction to Kubernetes
    1. What about the More Popular One?
    2. Kubernetes: An Origin Story
    3. Kubernetes: Architecture
    4. Demo: Bootstrapping Kubernetes Cluster on Google Cloud Platform (GCP)
  9. Chapter 9 : Understanding Container Orchestration with Pods
    1. What are Pods?
    2. Operating Kubernetes
    3. Working with Pods
    4. Lifecycle of a Pod
    5. Demo: Managing a Pod's Lifespan with Lifecycle Handlers
    6. Demo: Adding a Container's Command and Arguments to Pods
    7. Demo: Configuring a Container's Environment Variables with Pods
    8. Labels, Selectors, and Namespaces
    9. Demo: Working with Namespaces
    10. Demo: Pod Resource Management
  10. Chapter 10 : Kubernetes Workloads
    1. Kubernetes Controllers – Concept and Types
    2. Introduction to ReplicaSets
    3. Working with ReplicaSets
    4. Introduction to Deployments
    5. Demo: Working with Deployments
    6. Introduction to Jobs
    7. Demo: Working with Jobs
  11. Chapter 11 : Networking and Storage with Kubernetes
    1. Introduction to Services and Service Types
    2. Demo: Working with ClusterIP Services
    3. Demo: Working with NodePort Services
    4. Introduction to Storage in Kubernetes
    5. Demo: Mounting Volume to a Pod
    6. Demo: Mounting Projected Volume to a Pod – Secrets
    7. Demo: Good Old MySQL WordPress Combination with Kubernetes
  12. Chapter 12 : Advanced Orchestration with Kubernetes
    1. BlackRock Case Study
    2. Node Eviction from a Kubernetes Cluster
    3. Demo: Rolling Updates – Rollout, Pause, Status Check
    4. Introduction to Taints and Tolerations
    5. Demo: Scheduling Pods Using Taints
    6. Demo: Autoscaling Kubernetes Cluster Using Horizontal Pod Autoscaler (HPA)
    7. Demo: Deploying Apache ZooKeeper Using Kubernetes
  13. Chapter 13 : Managed Kubernetes as a Service on the Cloud.
    1. Pokémon Go Case Study
    2. On-premise Kubernetes or Managed Kubernetes on the Cloud? Make a Choice!
    3. Demo: Setting up a Google Kubernetes Engine (GKE) Cluster
    4. Demo: Accessing the Google Kubernetes Engine (GKE) Cluster
    5. Demo: Persistent Volume and Load Balancing on Google Kubernetes Engine (GKE)
    6. Demo: Kubernetes on Microsoft Azure Cloud
    7. Demo: Docker GUI with Kitematic
    8. Demo: Minikube Series – Installing Minikube
    9. Demo: Minikube Series – Getting Started with Minikube
  14. Chapter 14 : Serverless Kubernetes
    1. Introduction to Serverless Kubernetes
    2. Activating Cloud Run API on Google Cloud Platform (GCP)
    3. Your First Service on Cloud Run
  15. Chapter 15 : Conclusion
    1. Conclusion

Product information

  • Title: Kubernetes and Docker: The Container Masterclass
  • Author(s): Cerulean Canvas
  • Release date: December 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781801075084