Fluent Bit DaemonSet that collects Kubernetes container logs and writes them as Parquet files to S3-compatible storage.
The build/ directory contains a Dockerfile that compiles Fluent Bit v4.2.2 with Apache Arrow/Parquet support (FLB_ARROW=On) on a distroless debian13 nonroot runtime.
docker build -t yolean/fluentbit:latest build/The example/ directory provides a complete k3d-based demo: container log forwarding via a DaemonSet, writing parquet files to versitygw (S3-compatible gateway).
- k3d
- Docker
- kubectl
cd example
bash setup.shThis will:
- Create a k3d cluster
fluentbit-demo - Import the locally built
yolean/fluentbit:latestimage - Deploy versitygw (S3-compatible storage with posix backend)
- Create the
fluentbit-logsS3 bucket - Deploy the Fluent Bit DaemonSet (tail → kubernetes filter → S3 parquet output)
- Deploy a busybox log-generator that emits JSON every second
If setup completes it will print test instructions.
bash teardown.shbusybox (log-generator) → stdout JSON
→ /var/log/containers/*.log (k3d node)
→ fluent-bit tail input → kubernetes filter → S3 output (parquet)
→ versitygw:7070 → /data/fluentbit-logs/
