Company
Date Published
July 19, 2021
Author
Aaron Kahn
Word count
1819
Language
English
Hacker News points
None

Summary

Kubernetes logs are crucial for understanding the health of an application and diagnosing issues, especially with microservices and container orchestrators like Kubernetes. One way to manage these logs is by using a DaemonSet, which allows scheduling Pods on some or all Nodes based on user-defined criteria. In this tutorial, we set up a Kubernetes cluster, create Pods to generate logs, push the logs from each pod in the cluster to an external OpenSearch cluster, and install FluentD using a pre-built Helm Chart. We then use Aiven for Elasticsearch to store our logs and view them through OpenSearch dashboards.