8 Driving logs with Docker and Kubernetes

This chapter covers

  • Setting Docker to use Fluentd as its log driver
  • Understanding components used for Kubernetes logging
  • Tailoring Kubernetes DaemonSets for Fluentd
  • Configuring Fluentd to collect Kubernetes component log events
  • Discovering how Kubernetes node monitoring works

Previous chapters have referred to Fluentd’s relationship with Docker and Kubernetes, but we have focused on running Fluentd independently of these technologies to minimize complexity. This has helped underpin the point that despite the association with CNCF, Fluentd certainly is not restricted to cloud-native use cases.

In this chapter, we will now look at how Fluentd can be used with Docker and Kubernetes. We should recognize ...

Get Logging in Action 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.