Public | Automated Build

Last pushed: a year ago
Short Description
fluentd docker image with ruby 2.2.x and support for both elasticsearch and S3
Full Description

Overview

fluentd docker image with ruby 2.2.x and support for both elasticsearch and S3

Configuration

Create a fluentd.conf file following fluentd's configuration file format.

Installed plugins

The following plugins are installed in the docker image:

  1. fluent-plugin-elasticsearch
  2. fluent-plugin-s3
  3. fluent-plugin-kubernetes_metadata_filter

Run

Pass credentials via environment variables:

docker run --ulimit nofile=65536:65536 -p 24224 -p 24220 -p 24230 \
        -e KUBE_API='http://kubernetes' \
        -e ES_HOST='elasticsearch' \
        -e ES_PORT='9200' \
        -e ES_USER='foo' \
        -e ES_PASSWORD='bar' \
        -e AWS_KEY='xxxxx' \
        -e AWS_SECRET='xxxxx' \
        -e S3_BUCKET='my_bucket' \
        -e S3_REGION='us-east-1' \
        -e S3_TIMESLICE='12h' \
        -v /var/log:/var/log:rw -v /var/lib/docker/containers:/var/lib/docker/containers:rw \
        dronedeploy/fluentd:local

Release

First register a Docker Hub account and ask one of the existing member to add
you into the dronedeploy team. Then you can run the following command to
release a new version:

make push
Docker Pull Command
Owner
dronedeploy
Source Repository

Comments (0)