kubernetes/cluster/addons/fluentd-gcp/fluentd-gcp-image
2017-02-24 13:45:12 -08:00
..
Dockerfile Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00
fluent.conf Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00
Gemfile Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00
Makefile Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00
README.md Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00
run.sh Cleanup fluentd-gcp image, rebase on debian-base 2017-02-24 13:45:12 -08:00

Collecting Docker Log Files with Fluentd and sending to GCP.

This directory contains the source files needed to make a Docker image that collects Docker container log files using Fluentd and sends them to GCP. This image is designed to be used as part of the Kubernetes cluster bring up process. The image resides at DockerHub under the name kubernetes/fluentd-gcp.

Usage

The image is built with its own set of plugins which you can later use in the configuration. The set of plugin is enumerated in a Gemfile in the image's directory. You can find details about fluentd configuration on the official site.

In order to configure fluentd image, you should mount a directory with .conf files to /etc/fluent/config.d or add files to that directory by building a new image on top. All .conf files in the /etc/fluent/config.d directory will be included to the final fluentd configuration.

Command line arguments to the fluentd executable are passed via environment variable FLUENTD_ARGS.

Analytics