CloudAcademy

Kubernetes Observability - Logging, Monitoring, and Debugging

The hands-on lab is part of this learning path

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Understanding the Kubernetes Cluster Architecture
lock
Connecting to the Virtual Machine using SSH with Agent Forwarding
lock
Using Probes to Better Understand Pod Health
lock
Understanding Container Logging in Kubernetes
lock
Kubernetes Logging Using a Logging Agent and the Sidecar Pattern
lock
Monitoring Kubernetes Applications
lock
Validate Kubernetes Observability - Logging, Monitoring, and Debugging

Ready for the real environment experience?

DifficultyIntermediate
Duration2h
Students12

Description

An important consideration for any platform used to deploy production applications is observability. This Lab essentially answers how Kubernetes handles and helps you with observing everything that happens in the platform. Logging and monitoring are two pillars of observability and you will learn how to master each in this Lab. You will use what is built into Kubernetes and kubectl as well as how to extend the platform to use external logging and monitoring systems. More specifically, you will use the sidecar multi-container Pod pattern to stream Pod logs to S3 using Fluentd. You will also install Metrics Server as an example of a monitoring system. All of these combined give you powerful debugging skills to diagnose and resolve issues with applications running in Kubernetes.

This Lab is valuable to anyone working with Kubernetes, but the content has been prepared considering topics described in the Certified Kubernetes Application Developer (CKAD) Exam Curriculum. Completion of the Lab will help you get hands-on experience, which is essential for passing the CKAD exam.

Learning Objectives

  • Understand liveness probes and readiness probes
  • Understand container logging including how to use logging agents and the sidecar pattern
  • Understand how to monitor applications in Kubernetes
  • Understand debugging in Kubernetes

Intended Audience

  • Kubernetes admins and operators
  • Application developers and DevOps engineers deploying applications in containers and using or considering Kubernetes
  • This Lab is recommended for Certified Kubernetes Application Developer (CKAD) examinees

Prerequisites

  • Knowledge of Kubernetes Pod Design (Pods, Deployments, Services, Jobs)
  • Experience with kubectl

You can complete the Kubernetes Pod Design for Application Developers Lab to satisfy the prerequisites.

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW

About the Author

Students25266
Labs77
Courses10
Learning paths5

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics