Reading 18m read

Logging in Kubernetes

Understand Kubernetes logging architecture and implement cluster-wide log aggregation with common logging stacks.

Full content coming soon. This lesson is being written.

This lesson covers Kubernetes logging:

  • Container stdout/stderr logging model
  • kubectl logs: basic and streaming logs
  • Node-level logging: log rotation, /var/log/containers
  • Cluster-level logging architectures: node agent, sidecar, direct push
  • Popular stacks: EFK (Elasticsearch, Fluentd, Kibana), Loki + Grafana
  • Structured logging: JSON logs vs plaintext
  • Log retention and cost management

Check back soon for the full content.

Next Lesson