
- The DaemonSet runs Fluent Bit on every node.
- Fluent Bit tails container log files on the node (typically under
/var/log/containers/). - Fluent Bit queries the Kubernetes API to enrich logs with pod metadata (labels, namespace, etc.).
- Enriched log records are forwarded to your log backend (e.g., Grafana Loki, Elasticsearch).
No per-application logging configuration is required. As long as the DaemonSet agent runs and has permission to access node container log files and to read pod metadata from the Kubernetes API (RBAC for pod metadata), it will automatically collect logs from newly created pods.
pods/log permission is only required if the agent is configured to fetch logs via the API rather than tailing node files.- DaemonSet — Kubernetes Concepts
- Fluent Bit — Official site
- Kubernetes API reference
- RBAC — Kubernetes
- Read logs (
pods/log) — Kubernetes API