8

Monitoring and Logging Kubernetes Clusters and Applications

This chapter describes how to monitor Kubernetes cluster components and applications and get infrastructure-level, system-level, and application-level logs to serve as a source for log analytics or further troubleshooting. Together with the next two chapters about troubleshooting cluster components and applications and troubleshooting Kubernetes security and networking, it covers 30% of the CKA exam content.

In this chapter, we’re going to cover the following topics:

  • Monitoring on a cluster node
  • Monitoring applications on a Kubernetes cluster
  • Managing logs at the cluster node and pod levels
  • Managing container stdout and stderr logs

Technical requirements

To get started, you need ...

Get Certified Kubernetes Administrator (CKA) Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.