Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Centralized Logging and Monitoring with Kubernetes
Rating: 3.8 out of 5(54 ratings)
261 students

Centralized Logging and Monitoring with Kubernetes

Hands-on guide to logging and monitoring containers at scale
Last updated 6/2020
English

What you'll learn

  • Discover what Elasticsearch, Fluentd, and Kibana are (aka the EFK stack)
  • See how to implement a centralized monitoring and logging platform with these technologies
  • Discover what Kubernetes is and how to create a Kubernetes cluster in GCP for modern, containerized applications
  • Deploy applications from Kubernetes to the cloud
  • Scale the number of applications running in Kubernetes
  • Install and configure monitoring and logging agents on the Kubernetes nodes
  • Create powerful visualizations for metrics stored Kibana
  • Effectively and efficiently analyze logs stored in Kibana

Course content

4 sections15 lectures49m total length
  • The Course Overview2:51

    This video will give you an overview about the course.

  • Introduction to Centralized Monitoring and Logging with EFK4:24

    The aim of this video is to give the viewer an overview of what centralized monitoring and logging solution look like.

       •  Describe the benefits of centralized monitoring and logging

       •  Describe the EFK stack and how it fits with the centralized M&L solution

       •  Describe how data will flow from the Kubernetes cluster to the EFK stack

  • Overview of Elasticsearch2:20

    The aim of the video is to give the viewer an overview of Elasticsearch.

       •  Describe where Elasticsearch comes from, who built it, and when

       •  Describe Elasticsearch features, where it’s used, and why

  • Overview of Fluentd1:33

    The aim of the video is to give the viewer an overview of Fluentd.

       •  Describe where Fluentd comes from, who built it, and when

       •  Describe Fluentd features, where it is used, and why

  • Overview of Kibana1:56

    The aim of the video is to give the viewer an overview of Kibana.

       •  Describe where Kibana comes from, who built it, and when

       •  Describe Kibana features, where it is used, and why

  • Step-By-Step Guide to Implementing the EFK Stack8:43

    The aim of the video is to show the viewer how to implement and bootstrap the EFK Stack.

    • Start from creating the initial empty VMs/resources

    • Install Elasticsearch, Fluentd, and Kibana

    • Send some data to Elasticsearch and briefly visualize it in Kibana

Requirements

  • Prior knowledge of the working of Kubernetes is assumed.

Description

Kubernetes is an open source platform designed to automate deployment, scaling, and operation of application containers. Kubernetes automates various aspects of application development, which is extremely beneficial for enterprises. Centralized logging is crucial for any production-grade infrastructure, especially in a containerized architecture. Since Kubernetes is dynamic and does not store change logs except the recent changes, logging and monitoring is highly imperative for saving pod logs.

In this course, you’ll learn to analyze and locate critical pod log files in your Kubernetes clusters. You’ll create a centralized logging system with a configured EFK (Elasticsearch, Fluentd, and Kibana) stack for Kubernetes. Using a hands-on approach, you’ll follow the entire logging and monitoring process, which actually goes hand-in-hand. In your Kubernetes cluster, you’ll find out that your clusters are working with too many containers and it’s difficult to keep track of each of them.

You’ll learn how to build your centralized logging and send data for monitoring. To set up centralized logging, you’ll establish one logging agent per Kubernetes node to collect all logs of all running containers from disk and transmit them to Elasticsearch. You’ll search for log data, monitor the containers, and also collect metrics using Kibana. You’ll decide how your final log data will be presented. By the end of the course, you’ll be able to use centralized logging and monitoring techniques for debugging purposes to find out reasons for crashes, and trigger alerts if there is a spike in error messages (which can be more efficient than a system health check).

About the Author

Walter Dolce is a Software and Platform Engineer based in London, United Kingdom. He has worked for both small and medium-sized businesses as well as large enterprises such as the BBC and Just Eat. Over the course of the years, he has developed a deep knowledge of various areas of Software Engineering concepts and practices such as test-driven development, behavior-driven development, SOLID principles, design patterns, and more. He later transitioned to the DevOps/Platform Engineering space where he used that knowledge to implement highly available, resilient systems and platforms running on today’s major Cloud providers such as Amazon Web Services, Google Cloud Platform, and Microsoft Azure.

Who this course is for:

  • This course is for DevOps engineers, developers, testers, sysadmins, and IT professionals who want to log and monitor containers in their Kubernetes clusters for debugging and other purposes.