Kubernetes the Hard Way

Training Architect
course instructor image
Will Boyd
Will is an engineer who is most passionate about DevOps. He has significant experience in both software development and operations. He enjoys teaching and promoting exciting practices and technologies in the IT industry! He provides training in DevOps and the tools associated with it.

Kubernetes the Hard Way

Introduction

About the Course Author
00:00:27
Course Features and Tools
00:07:06
Course Introduction
00:06:29

Getting Started

What will the Kubernetes Cluster Architecture Look Like?
00:06:58
Setting Up Your Cloud Servers
00:09:27
Client Tools
00:04:02

Provisioning the CA and Generating TLS Certificates

Why Do We Need a CA and TLS Certificates?
00:04:39
Provisioning the Certificate Authority
00:03:37
Generating Client Certificates
00:09:01
Generating the Kubernetes API Server Certificate
00:05:47
Generating the Service Account Key Pair
00:01:55
Distributing the Certificate Files
00:07:16
Hands-On-Lab: Creating a Certificate Authority and TLS Certificates for Kubernetes
01:00:00

Generating Kubernetes Configuration Files for Authentication

What are Kubeconfigs and Why Do We Need Them?
00:02:37
Generating Kubeconfigs for the Cluster
00:12:45
Distributing the Kubeconfig Files
00:04:13
Hands-On-Lab: Generating Kubeconfigs for a New Kubernetes Cluster
01:00:00

Generating the Data Encryption Config and Key

What is the Data Encryption Config in Kubernetes?
00:01:46
Generating the Data Encryption Config
00:05:21
Hands-On-Lab: Generating a Data Encryption Config for Kubernetes
01:00:00

Bootstrapping the etcd Cluster

What is etcd?
00:03:53
Creating the etcd Cluster
00:14:11
Hands-On-Lab: Bootstrapping an etcd Cluster for Kubernetes
01:30:00

Bootstrapping the Kubernetes Control Plane

What is the Kubernetes Control Plane?
00:07:55
Control Plane Architecture Overview
00:03:19
Installing Kubernetes Control Plane Binaries
00:05:13
Setting up the Kubernetes API Server
00:08:38
Setting up the Kubernetes Controller Manager
00:03:08
Setting up the Kubernetes Scheduler
00:07:07
Enable HTTP Health Checks
00:08:25
Set up RBAC for Kubelet Authorization
00:04:01
Setting up a Kube API Frontend Load Balancer
00:07:25
Hands-On-Lab: Bootstrapping a Kubernetes Control Plane
01:30:00
Hands-On-Lab: Setting Up a Frontend Load Balancer for the Kubernetes API
01:00:00

Bootstrapping the Kubernetes Worker Nodes

What are the Kubernetes Worker Nodes?
00:03:40
Worker Node Architecture Overview
00:01:06
Installing Worker Node Binaries
00:06:26
Configuring Containerd
00:01:53
Configuring Kubelet
00:07:20
Configuring Kube-Proxy
00:05:57
Hands-On-Lab: Bootstrapping Kubernetes Worker Nodes
01:30:00

Configuring kubectl for Remote Access

Kubernetes Remote Access and kubectl
00:02:58
Configuring Kubectl for Remote Access
00:06:30
Hands-On-Lab: Configuring Kubectl to Access a Remote Cluster
01:00:00

Networking

The Kubernetes Networking Model
00:07:23
Cluster Network Architecture
00:07:42
Installing Weave Net
00:12:13
Cleanup
00:02:00
Hands-On-Lab: Setting Up Kubernetes Networking with Weave Net
01:00:00

Deploying the DNS Cluster Add-on

DNS In a Kubernetes Pod Network
00:02:49
Deploying Kube-dns to the Cluster
00:06:09
Hands-On-Lab: Deploying kube-dns in a Kubernetes Cluster
01:00:00

Smoke Test

Smoke Testing the Cluster
00:01:47
Smoke Testing Data Encryption
00:03:26
Smoke Testing Deployments
00:01:53
Smoke Testing Port Forwarding
00:03:17
Smoke Testing Logs
00:01:56
Smoke Testing Exec
00:01:50
Smoke Testing Services
00:02:57
Smoke Testing Untrusted Workloads
00:05:58
Smoke Testing Cleanup
00:01:47
Hands-On-Lab: Smoke Testing a Kubernetes Cluster
01:30:00

Wrap-Up

Kubernetes the Easy Way
00:04:00
Next Steps
00:01:56

Details

Kubernetes is a powerful tool for container orchestration. There are many different ways to bootstrap a Kubernetes cluster, many of which make the process easier by abstracting some of the details. Kelsey Hightower's open source guide, Kubernetes the Hard Way, goes through how to bootstrap a Kubernetes cluster without the use of installers or scripts. While there is nothing wrong with using installers or scripts, this approach gives you a deeper understanding of the details of Kubernetes. This course is an adaptation of the Kubernetes the Hard Way guide. It is intended to walk you through it and provide some additional explanation of each step along the way. NOTE: Micro Instances are recommended for use in the hands on activities.


Study Guides

Cluster Architecture Diagram

This diagram shows the end-state architecture of the Kubernetes cluster that you will build in this course.

Kubernetes the Hard Way Slides

This file is a PDF containing all of the slides from the video lessons in this course. Feel free to download it if you would like to use the slides as a reference!

Instructor Deck

Community

certificate ribbon icon

Earn a Certificate of Completion

When you complete this course, you’ll receive a certificate of completion as proof of your accomplishment.

Looking For Team Training?

Learn More