ON-PREM CHOREO CLOUD BOTH

What it is

Fluent Bit is the log collector of the observability stack. It runs as a DaemonSet, one pod on every node, and reads the logs of the containers on that node. It is installed as part of the OpenChoreo logs module observability-logs-opensearch, which ships the logs to OpenSearch so agent and build logs can be searched in the console.

It is a courier who walks every floor, picks up the paperwork and delivers it to the central archive.

Why it exists

Pod logs disappear when pods are deleted. A collector that copies them off the node keeps them searchable.

How it works

  • On-prem, the setup installs it in openchoreo-observability-plane with the chart value fluent-bit.tolerations set to operator Exists, so it also runs on tainted nodes.
  • In local k3d clusters each node needs a /etc/machine-id file, which Fluent Bit mounts from the host. The setup scripts generate it.
  • The gVisor node script adds the same toleration, because without it agents on the gVisor node would produce no runtime logs.
  • On Choreo Cloud, the same logs module runs Fluent Bit on the data plane and workflow plane clusters. It signs in to OpenSearch with credentials from a Kubernetes secret.

Identity and access

On Choreo Cloud it reads the OpenSearch username and password from the secret observer-opensearch-credentials.

Key facts

Kind
DaemonSet, one pod per node
Part of
observability-logs-opensearch module
Namespace (on-prem)
openchoreo-observability-plane
Ships to
OpenSearch

Talks to (1)

  • sends telemetry to OpenSearch
    Fluent Bit pushes container logs to OpenSearch
    OpenSearch API