Skip to content

An ubuntu-slim/s6-overlay/confd based docker image for running fluentd in Kubernetes pods/daemonsets

Notifications You must be signed in to change notification settings

cw-sakamoto/kube-fluentd

 
 

Repository files navigation

kube-fluentd

Build Status

Docker Hub

A docker image for running fluentd in Kubernetes pods.

Based on:

Supported tags

  • latest/0.14.14-0.9.9 (Fluentd v0.14.14)

Naming convention for images is $FLUENTD_VERSION-$KUBE_FLUENTD_VERSION

Changelog

  • 0.9.9
  • 0.9.8
    • Set buffer_queue_full_action to block for tail plugins so that we won't drop messages anymore
  • 0.9.7
    • fluentd.conf is customizable via environment variables (#3, thanks to @cw-hayashi)
  • 0.9.6
    • Fix the fluentd OOM issue when ingesting a lot of log
  • 0.9.5
    • Remove /var/lib/apt/lists/* to save approximately 20MB of image size
  • 0.9.4
    • Build confd outside of containers to save 1MB of image size
  • 0.9.3
    • Switch from alpine to ubuntu-slim:0.4
    • Use jemalloc
    • Fluentd 0.14.9
  • 0.9.2
  • 0.9.1

Usage in Kubernetes

# (1) Provide GOOGLE_FLEUNTD_* environments appropriate values
# (2) Build the definition for a k8s secret object
$ make fluentd.secret.yaml
# (3) Create the secret object from the definition
$ kubectl create -f fluentd.secret.yaml
# (4) Create a fluentd daemonset that reads and depends on the secret
$ kubectl create -f fluentd.daemonset.yaml

About

An ubuntu-slim/s6-overlay/confd based docker image for running fluentd in Kubernetes pods/daemonsets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 75.1%
  • Shell 24.9%