Attention: Deprecation notice for Bintray, JCenter, GoCenter and ChartCenter. Learn More

cloudposse/fluentd-kubernetes-aws

Chart version: 0.2.1
Api version: v1
App version: 1.4.2
Collect Kubernetes logs with Fluentd and forward to AWS-hosted ...
application
Chart Type
Active
Status
Unknown
License
1066
Downloads
https://charts.cloudposse.com/incubator
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install fluentd-kubernetes-aws center/cloudposse/fluentd-kubernetes-aws
Versions (0)

Fluentd AWS

Helm chart to run fluentd on kubernetes and connect to an AWS Elasticsearch domain protected by IAM.

Use cases

This specialized chart covers the case where: - your Kubernetes cluster has RBAC enabled - you are using kiam to assign IAM roles to pods - you have an AWS Elasticsearch - you have created an IAM role that has access to Elasticsearch - you want Fluentd to collect logs from your Kubernetes cluster and forward them to Elasticsearch.

Credit

This chart is based on fluentd-daemonset-elasticsearch-rbac.yaml

Quick start

helm install incubator/fluentd-kubernetes-aws \
    --set elasticsearch.endpoint=<elasticsearch_domain_endpoint> \
    --set role=<IAM role>

Full config

This chart installs the fluentd-kubernetes-daemonset that is specialied to forward logs to Elasticsearch. That installation is entirely configured with environment variables which are not specifcially documented, but are well named and can be found by inspecting the templates at https://github.com/fluent/fluentd-kubernetes-daemonset/tree/8c76f51/templates

Those values can be set using env.NAME=value

Example values.yaml file:

image: 
  repository: fluent/fluentd-kubernetes-daemonset
  tag: v1.3.3-debian-elasticsearch-1.8

role: elasticsearch-user

elasticsearch:
  endpoint: my-elasticsearch-jivhavxbcd5dvcbjzrac7j42rm.us-west-2.es.amazonaws.com
  
env:
  FLUENT_ELASTICSEARCH_RELOAD_CONNECTIONS: false
  FLUENT_ELASTICSEARCH_BUFFER_FLUSH_INTERVAL: 10s