Kubernetes Microservices

Video description

See it. Learn it. Do it! 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.


Distributed by Manning Publications

This course was created independently by big data expert Richard Chesterwood and is distributed by Manning through our exclusive liveVideo platform.



About the Technology
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.

What's 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


About the Reader
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.

About the Author
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.

Quotes

Table of contents

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

Product information

  • Title: Kubernetes Microservices
  • Author(s): Richard Chesterwood
  • Release date: April 2019
  • Publisher(s): Manning Publications
  • ISBN: 10000DIHV201804