Improve your coding skills from beginner to expert with the largest online Java e-learning platform

Kubernetes Microservices Module 2

with ELK/ElasticStack, Prometheus and Grafana.
  • In this second module we take our workload in to the cloud and deploy to a live AWS cluster.
  • Using the Kops tool, we manage the cluster from a simple command line with very little manual AWS work.
  • We set up monitoring and logging using the ELK/ElasticStack, with Prometheus and Grafana.
  • And we set up an alerting system which feeds into a Slack Channel.

Pre-requisites

Some previous experience of AWS will be useful, but all concepts are explained. Great care must be taken that you delete any resources as soon as you finish with them.

Contents - Equivalent to 3 days of a live training course

 

Having problems? check the errata for this course.

1

Introduction


2 m 7 s
Welcome to the course.

2

Networking and Service Discovery


35 m 21 s
How to use the DNS service in kubernetes

Cygwin users - how to fix the terminal problems


4 m 52 s
Just if you're on cygwin, how to use "winpty" to get back a proper terminal emulation.

3

Introducing Microservices


25 m 34 s
This material is borrowed from out earlier "Spring Boot Microservices" course, for anyone new to microservices

4

Deploying Microservices


62 m 16 s
A large worked example where we build a workload definition for a small but representative microservice system

5

Persistence


43 m 33 s
How to configure mount points. We show how a mongo database can be deployed as a pod.

6

Volumes


39 m 39 s
Volumes represent physical storage. Covered are PersistentVolumeClaims and StorageClasses

7

Moving to AWS


62 m 11 s
How to install kubernetes into your AWS account. Warning - you will be charged by Amazon for resources used in the rest of the course. The charges are small but if you neglect to delete your cluster you will incur ongoing (and high) bills.

8

Deploying a Workload to AWS


50 m 51 s
Now we'll see what changes are needed to our workload definitions now that we're in the cloud.

9

Deleting the Cluster


6 m 20 s
YOU MUST FOLLOW THIS CHAPTER BEFORE LEAVING THE COURSE! - We can't be responsible for any charges!

10

Restarting the Cluster


5 m 34 s
If you return to the course and need to re-start a cluster, it's easy.

11

Logging with the ELK/ElasticStack


66 m 9 s
How to apply cluster wide log monitoring with Fluentd, ElasticSearch and Kibana.

12

Monitoring


43 m 12 s
Monitor the health of your system with Prometheus and Grafana. Also, how to install packages with Helm.

13

Alerts


43 m 57 s
An introduction to how the AlertManager works. We'll also set up a slack channel integration.

14

Handling Alerts


17 m 3 s
also in this chapter: what happens if a master node crashes?

15

Discovering a Real Problem


13 m 2 s
There's a bug somewhere in the code - we find it through our monitoring system!

16

Goodbye


1 m 57 s
Course close - brief mention of federation and highly available masters

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube LinkedIn