Course Overview
(Note: This course requires you to download Docker Desktop. If you are a Udemy Business user, please check with your employer before downloading software. Any recent Kubernetes installation will be suitable, but Docker Desktop is recommended).
Kubernetes is the skill every platform team expects - and engineers with Kubernetes skills are in big demand.
Get those skills with this course! It's a great chance to work on a real Kubernetes project, and to get yourself to a high professional standard on real projects.
All the way through the course you'll be working on realistic requirements - but you don't need to be a coder or know any particular programming language - I've prepared for you a set of Docker images, and your job is to use Kubernetes to get these images running.
The system is a Microservice-based architecture, and along the way, we'll look at design decisions and trade-offs you need to make when managing these complex systems. Note the course isn't about how to design Microservices (although we'll certainly be talking about that); the development work is done and we need to get the system running on a production cluster.
We'll also discover that the developers have made some bad mistakes in their code, by analyzing the run time performance of the cluster!
You can do the first part of the course on your local development computer (PC/Mac/Laptop). The second part (from Chapter 13 onwards) moves to the cloud. You'll use a real AWS account, and we set up logging with the ELK/Elastic Stack and monitor with Prometheus and Grafana.
The course now supports EKS, the AWS Elastic Kubernetes Service, but we also show how to use the alternative system, called Kops. The pros and cons of each are explained in detail.
I've designed this course for a wide audience - whether you're a DevOps engineer, a developer, or if you're quite new to the whole field, I'll explain everything along the way. Just some basic knowledge of working with computers, and maybe a bit of command-line experience will suffice.
You will need an AWS account for a part of the course if you want to work on the system yourself. If you're new to AWS then don't worry, I've got you covered -but Amazon will charge you for running the system (as with all/most cloud providers). Expect to pay no more than around 10USD for this (this is a safe overestimate), but you are expected to manage this spend yourself and you must delete your Kubernetes cluster at the end of your session. Don't let that put you off, it's a great investment.
You can absolutely just watch the AWS videos if you'd prefer not to incur these costs - you will still learn plenty!
As always, I'm here to answer questions and I aim to respond within 48 hours.
Good luck!
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 3 bài · 3 phút
Chương 2 Welcome to Kubernetes 2 bài · 12 phút
-
Introducing Kubernetes 9:34
-
Hands-on Project 2:49
Chương 3 Installing a Local Kubernetes for Development 5 bài · 1 giờ 13 phút
Chương 4 (optional) Docker Quickstart 5 bài · 29 phút
-
Important note for anyone with Docker/Docker Desktop installed
-
Docker Overview 2:46
-
Docker Containers vs Images 13:21
-
Attention Apple M1/M2 Users!
-
Running Containers from DockerHub 12:44
Chương 5 Kubernetes Pods 3 bài · 25 phút
-
Pods Overview 9:13
-
Writing a Pod 5:06
-
Running a Pod 10:54
Chương 6 Services in Kubernetes 4 bài · 35 phút
-
Important note for Docker Desktop and Driver Users
-
Services 7:31
-
NodePort and ClusterIP 12:09
-
Pod Selection with Labels 15:02
Chương 7 Exercise: Deploy ActiveMQ as a Pod and Service to Kubernetes 2 bài · 10 phút
-
Extra note for Docker Desktop users
-
Exercise: Deploy ActiveMQ as a Pod and Service 10:04
Chương 8 Kubernetes ReplicaSets 3 bài · 32 phút
-
ReplicaSets 10:44
-
Writing a ReplicaSet 10:05
-
Applying a ReplicaSet to Kubernetes 10:54
Chương 9 Kubernetes Deployments 2 bài · 25 phút
-
Deployments Overview 12:08
-
Managing Rollouts 12:24
Chương 10 Networking and Service Discovery 9 bài · 41 phút
-
Networking Overview in Kubernetes 8:18
-
A quick note about DNS pods
-
Namespaces - kube-system 9:34
-
Note for M1 Architectures
-
Accessing MySQL from a Pod 7:15
-
Cygwin extra - fixing the terminal with winpty 4:52
-
If you have a problem with MySql in the next video
-
Service Discovery 7:27
-
Fully Qualified Domain Names (FQDN) 3:27
Chương 11 Microservice Architectures 10 bài · 1 giờ 28 phút
-
Minikube with VirtualBox/HyperV users only - possible resource problems!
-
An Introduction to Microservices 15:18
-
Introduction to Microservices Part 2 10:40
-
Fleetman Microservices - setting the scene 13:38
-
Deploying the Queue 12:38
-
Deploying the Position Simulator 7:56
-
Inspecting Pod Logs 5:40
-
Deploying the Position Tracker 11:07
-
Deploying the API Gateway 4:49
-
Deploying the Webapp 6:40
Chương 12 Kubernetes Persistence and Volumes 8 bài · 1 giờ 25 phút
-
Persistence 12:00
-
Upgrading to a Mongo Pod 13:48
-
Mongo Service 6:22
-
Expanding the Minikube VM 2:50
-
Volume Mounts 9:26
-
Volumes 14:25
-
PersistentVolumeClaims 16:26
-
StorageClasses and Binding 9:24
Chương 13 Running Kubernetes on the AWS Cloud 6 bài · 38 phút
-
Warning
-
Getting started with AWS 10:58
-
Managing a Cluster in the Cloud 9:12
-
EKS vs Kops - Which to Choose? 9:39
-
Pricing Differences - EKS vs Kops (prices correct mid 2020) 8:18
-
Choose Your Own Adventure!
Chương 14 KOPS - Running Kubernetes on the AWS Cloud 5 bài · 1 giờ 3 phút
-
This Section is for Kops!
-
Introducing Kops - Kubernetes Operations 10:15
-
Installing the Kops Environment - 2021 Update 18:39
-
Configuring your first cluster 20:04
-
Running the Cluster 14:03
Chương 15 EKS - Running Kubernetes on the AWS Cloud 7 bài · 42 phút
-
This section is for EKS
-
Getting started with EKS 13:12
-
Install eksctl and AWS CLI 6:05
-
Configure the AWS credentials 13:24
-
Install kubectl 4:28
-
Changing the instance types
-
Start the cluster 4:29
Chương 16 Operating your Cluster 11 bài · 51 phút
-
This section is for both EKS and Kops
-
Extra Steps for EKS Users
-
A note for if you were developing on a Mac M1 or Mac M2
-
Provisioning SSD drives with a StorageClass 12:51
-
Warning - problems with AWS LoadBalancers
-
Note for Kops users
-
A note for Mac users on Apple silicon
-
Deploying the Fleetman Workload to Kubernetes 13:17
-
Setting up a real Domain Name 4:02
-
Surviving Node Failure 10:09
-
Replicating Pods in Kubernetes 11:03
Chương 17 Deleting the Cluster in Kops 2 bài · 16 phút
-
Deleting the Cluster 10:28
-
Restarting the Cluster 5:34
Chương 18 Deleting the Cluster in EKS 2 bài · 7 phút
-
How to delete your EKS cluster 7:06
-
One last cluster deletion step
Chương 19 Extra - how to run Kubernetes in Google Cloud 1 bài
-
How to deploy to Google Cloud Platform
Chương 20 Logging a Kubernetes Cluster 6 bài · 1 giờ 6 phút
-
Introducing the ELK / ElasticStack 15:39
-
Installing the Stack to Kubernetes 16:06
-
Kibana - first look 9:01
-
Setting Filters and Refreshes 5:01
-
Demo: analysing a system failure 5:14
-
Kibana Dashboards 15:25
Chương 21 Monitoring a Kubernetes Cluster with Prometheus and Grafana 6 bài · 1 giờ 17 phút
-
Monitoring a Cluster (2020 update) 5:31
-
Installing the kube-prometheus-stack 15:16
-
Use the "Classic UI" in the next video
-
Using the Prometheus UI 17:19
-
Introducing Grafana 21:52
-
(optional) How to Use NodePorts on a Cluster 17:29
Chương 22 The Alert Manager 10 bài · 2 giờ 5 phút
-
Introducing Alerts 11:46
-
Preparing a Slack Channel 10:15
-
Configuring the AlertManager 15:17
-
Troubleshoot the alertmanager.yaml config 16:40
-
Dealing with Firing Alerts 16:32
-
The AlertManager UI and how to Silence Alerts 9:24
-
How to handle the Watchdog 14:31
-
Using PagerDuty 17:11
-
Case Study
-
Case Study: Troubleshooting a "Delinquent" node 13:02
Chương 23 (Kops only): What Happens If The Master Node Crashes? 1 bài · 11 phút
-
What happens if the Master Node crashes? (Kops clusters only!) 10:34
Chương 24 Going Further with Kubernetes 2 bài · 3 phút
-
Introduction to the "Advanced Section" 2:40
-
Code / files for this section
Chương 25 Kubernetes Requests and Limits 3 bài · 43 phút
-
Memory requests 20:40
-
CPU Requests 7:05
-
Memory and CPU Limits 14:49
Chương 26 Metrics Profiling in Kubernetes 4 bài · 1 giờ 2 phút
-
Enabling the Metrics Server 14:25
-
Viewing Metrics on the Dashboard 16:42
-
Tuning Java Spring Boot Applications, Heap restriction 22:52
-
Setting reasonable Requests 7:42
Chương 27 Horizontal Pod Autoscaling 3 bài · 38 phút
-
Update: you will need to modify the yaml file in the next video
-
Introducing Replication and Autoscaling 30:59
-
Testing Autoscaling 7:29
Chương 28 Readiness and Liveness Probes 2 bài · 21 phút
-
Demo: why readiness probes are needed 12:01
-
Applying Liveness and Readiness Probes 8:56
Chương 29 Quality of Service and Eviction 4 bài · 45 phút
-
Understanding the scheduler 15:37
-
QoS labels 4:58
-
Evictions 12:03
-
Pod Priorities 12:40
Chương 30 Kubernetes ConfigMaps and Secrets 9 bài · 58 phút
-
Creating a ConfigMap 7:33
-
Consuming a ConfigMap as Environment Variables 5:29
-
Do changes to a ConfigMap get propagated? 6:37
-
How to consume multiple environments variables with envFrom 3:32
-
Mounting ConfigMaps as Volumes 9:18
-
Creating Secrets 8:11
-
Using Secrets 8:06
-
Where have we already used ConfigMaps and Secrets? 9:39
-
(extra) Using Spring Cloud Kubernetes to Hot Reload ConfigMaps
Chương 31 Ingress Controllers 7 bài · 1 giờ 10 phút
-
Introducing Ingress 12:07
-
Defining Routing Rules 15:20
-
Adding Routes 4:04
-
Authentication 15:11
-
Running Ingress on AWS 14:06
-
Testing the Ingress Rules 8:57
-
(Extra) setting up HTTPS with TLS termination at the load balancer
Chương 32 Other Workload Types 6 bài · 1 giờ 32 phút
-
Batch Jobs 22:26
-
Cron Jobs 9:24
-
DaemonSets 6:24
-
StatefulSets Overview 22:21
-
StatefulSets for Database Replication 9:57
-
Demo: Scaling out a Mongo Database 21:38
Chương 33 Continuous Deployment on a Kubernetes Cluster 16 bài · 1 giờ 37 phút
-
Notes on this section of the course - 2024 update
-
Introducing CI/CD 11:12
-
Warning - be careful when Forking repositories
-
Reminder for Docker Desktop or Docker Driver Users
-
Establishing a GitHub organization 10:44
-
If You Get Errors When Building Jenkins
-
Setting up a Basic Jenkins System 15:07
-
Defining a Pipeline 18:10
-
Update - creating a Personal Access Token from Github
-
Slight UI Changes in your Jenkins version
-
Running a Multibranch Pipeline 5:18
-
The Most Common Error Here!
-
Reviewing Builds 10:20
-
Notes on GitHub Organizations
-
Organization Pipelines 9:32
-
Continuous Deployment into a Cluster 16:17
Chương 34 Introducing Helm 15 bài · 3 giờ 47 phút
-
Getting Started with Helm 9:21
-
How do I Install a Helm Chart 14:37
-
How to Find Helm Charts 10:48
-
Installing a Monitoring Stack with Helm 14:01
-
Working with Chart Values 16:14
-
Customising values.yaml 16:00
-
Avoiding Snowflake Clusters! 11:56
-
Using Helm Pull to Take Control of a Chart 16:51
-
Generating yaml with "Helm Template" 7:24
-
Why would you write your own Helm Charts? 10:06
-
Writing Go Templates for Helm 26:52
-
Helm Functions and Pipelines 14:19
-
Flow Control in a Helm Template 12:21
-
Named Templates 21:35
-
Inspecting a Professional Helm Chart 24:40
Chương 35 Goodbye! 2 bài · 2 phút
-
Goodbye! 1:54
-
Bonus Lecture
Requirment
-
Some previous knowledge of Docker is useful, but an overview is provided as part of the course
-
Previous knowledge of AWS is useful for the later sections of the course; however all the concepts are explained in detail and this would serve as a great first project on AWS
-
We'll be using the terminal throughout the course so some (basic) familiarity of terminal operations is assumed
-
You will need a modern computer with at least 8Gb of RAM to run the practical sessions
Outcomes
-
Deploy containers to a Kubernetes Cluster
-
Run Kubernetes in AWS using either EKS or Kops
-
Monitor a live Kubernetes cluster using Prometheus and Grafana
-
Analyse system-wide logs using the ELK Stack (ElasticStack); Kibana and ElasticSearch
-
Handle Alerts in a Kubernetes cluster by notifying Slack Channels
-
Understand how Requests and Limits work in Kubernetes
-
Use Kubernetes Horizontal Pod Autoscaling
-
Configure Ingress Control on a live Kubernetes deployment
-
Understand Kubernetes StatefulSets
-
Integrate Kubernetes with a Continuous Deployment System (CD)
-
Use Helm to Manage Charts and to Dynamically Update your Kubernetes YAML
0 Student
1 Course
0 review