O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Kubernetes Microservices

Video Description

Microservices designs require you to change how you build and deploy applications. Instead of creating a tightly-integrated collection of related components, microservices employ a system of single-purpose mini-applications that cooperate as a system. This can get tricky quickly when you’re in a distributed cloud-based environment with lots of moving parts. Kubernetes, a component management system developed by Google, provides a configurable layer for deploying, managing, and scaling the parts of a microservices application. Combined with the Docker container system, Kubernetes makes deploying and monitoring microservices on a cloud system like AWS much safer and more stable than using home-brewed processes. In the comprehensive Kubernetes Microservices video course, expert instructor Richard Chesterwood teaches you to deploy and monitor microservice systems on AWS using Kubernetes, Docker, and other industry-standard tools.


about the subject

Kubernetes, aka K8S, is a container orchestration system perfect for automating the management, scaling, and deployment of microservice applications. This incredibly popular framework allows you to manage hundreds or thousands of containers at production scale. It’s backed by a passionate open-source community, and can run practically anywhere. It’s also an incredibly-valuable skill to have on your resume. Google has trusted it to run its production workloads for more than 15 years. Companies like them and other happy Kubernetes users—including IBM, Ocado Technology, and Github—will be on the lookout for Kubernetes-savvy developers.


about the video

In Microservices Kubernetes, seasoned instructor Richard Chesterwood takes you through the process of getting a microservice system running on a production cluster, with the help of visual examples and real-world exercises. You’ll explore pods and replica sets, and you’ll run Kubernetes locally using Minikube, an easy-to-use tool designed for that purpose. You’ll also learn which factors and tradeoffs to consider when making decisions about managing complex microservice systems. You’ll complete the first part of this illuminating liveVideo course on your standalone development computer. Then you’ll move to the cloud where you'll use a real AWS account. Working in a realistic production environment gives you hands-on experience monitoring your system using industry-standard tools such as ELK/Elastic Stack, Prometheus, and Grafana. As you go, you’ll practice priceless Kubernetes skills like container deployment, live cluster monitoring, log analysis, and more!
Because microservices systems can be complex to set up, this course comes with a pre-built application to deploy and run. And don’t worry if you’re not a Microservices guru! Along the way, Richard offers experience-driven insight into the design and implementation of these systems.

Inside:
  • Deploy containers to a Kubenetes cluster
  • Run Kubernetes in AWS using the Kops management tool
  • Monitor a live cluster using Prometheus and Grafana
  • Analyze system-wide logs using the ELK Stack
  • Handle alerts by notifying Slack channels
This course assumes you’re a competent developer familiar with typical application back ends. Some experience with working from the Linux command line, as well as with Docker and AWS is helpful, although not absolutely necessary.

Richard Chesterwood has been developing high-quality software systems for 25 years. Passionate about great technical education, he’s been delivering training courses worldwide for the last 15 years, particularly in the area DevOps. He currently manages several large scale microservices projects in the cloud.

Table of Contents

  1. INTRODUCTION
    1. Introduction 00:03:05
  2. WELCOME TO KUBERNETES
    1. Introducing Kubernetes 00:09:34
    2. Hand-on Project 00:02:50
  3. INSTALLING MINIKUBE
    1. Setting up Virtualization 00:07:17
    2. (Windows 10 Professional Only): Setting up Hyper-V 00:03:35
    3. Installing kubectl and minikube 00:11:13
    4. Troubleshooting Minikube 00:06:42
  4. DOCKER QUICKSTART
    1. Docker Overview 00:02:46
    2. Docker Containers vs Images 00:13:21
    3. Running Containers from DockerHub 00:12:44
  5. GETTING STARTED WITH KUBERNETES - PODS
    1. Pods Overview 00:09:14
    2. Writing a Pod 00:05:07
    3. Running a Pod 00:10:54
  6. SERVICES
    1. Services 00:07:32
    2. NodePort and ClusterIP 00:12:10
    3. Pod Selection with Labels 00:15:02
  7. EXERCISE: DEPLOY ACTIVEMQ AS A POD AND SERVICE
    1. Exercise: Deploy ActiveMQ as a Pod and Service 00:10:04
  8. REPLICASETS
    1. ReplicaSets 00:10:45
    2. Writing a ReplicaSet 00:10:05
    3. Applying a ReplicaSet 00:10:54
  9. DEPLOYMENTS
    1. Deployments Overview 00:12:09
    2. Managing Rollouts 00:12:25
  10. NETWORKING AND SERVICE DISCOVERY
    1. Networking Overview 00:08:19
    2. Namespaces - kube-system 00:09:34
    3. Accessing MySQL from a Pod 00:07:15
    4. Cygwin extra - fixing the terminal with winpty 00:04:53
    5. Service Discovery 00:07:27
    6. Fully Qualified Domain Names (FQDN) 00:03:28
  11. MICROSERVICE ARCHITECTURES
    1. An Introduction to Microservices 00:15:18
    2. Introduction to Microservices Part 2 00:10:40
    3. Fleetman Microservices - setting the scene 00:13:38
    4. Deploying the Queue 00:12:38
    5. Deploying the Position Simulator 00:07:57
    6. Inspecting Pod Logs 00:05:40
    7. Deploying the Position Tracker 00:11:07
    8. Deploying the API Gateway 00:04:50
    9. Deploying the Webapp 00:06:41
  12. PERSISTENCE
    1. Persistence 00:12:00
    2. Upgrading to a Mongo Pod 00:13:48
    3. Mongo Service 00:06:23
    4. Expanding the Minikube VM 00:02:50
    5. Volume Mounts 00:09:26
    6. Volumes 00:14:25
    7. PersistentVolumeClaims 00:16:27
    8. StorageClasses and Binding 00:09:25
  13. DEPLOYING TO THE AWS CLOUD
    1. Getting started with AWS 00:10:58
    2. Introducing Kops 00:10:15
    3. Installing the Kops Environment 00:13:51
    4. Configuring your first cluster 00:16:18
    5. Running the Cluster 00:11:07
    6. Provisioning SSD drives with a StorageClass 00:12:52
    7. Deploying the Fleetman Workload 00:12:45
    8. Setting up a real Domain Name 00:04:02
    9. Surviving Node Failure 00:10:10
    10. Replicating Pods 00:11:04
  14. DELETING THE CLUSTER
    1. Deleting the Cluster 00:06:21
    2. Restarting the Cluster 00:05:35
  15. LOGGING A CLUSTER
    1. Introducing the ELK / ElasticStack 00:15:40
    2. Installing the Stack 00:16:06
    3. Kibana - first look 00:09:01
    4. Setting Filters and Refreshes 00:05:01
    5. Demo: analysing a system failure 00:05:15
    6. Kibana Dashboards 00:15:26
  16. MONITORING WITH PROMETHEUS AND GRAFANA
    1. Monitoring a Cluster 00:06:11
    2. Helm Package Manager 00:16:59
    3. Installing Prometheus Operator 00:14:21
    4. Working with Grafana 00:16:11
  17. THE ALERT MANAGER
    1. Alerting 00:20:12
    2. Setting up a Slack Channel 00:06:39
    3. Configuring the AlertManager 00:09:55
    4. Applying the config with a Secret 00:10:29
    5. Dealing with Alerts 00:06:32
    6. What happens if the Master Node crashes? 00:10:34
    7. Case Study: Troubleshooting a "Delinquent" node 00:13:03
  18. GOODBYE!
    1. Goodbye! 00:01:58