Back to Charts

DEPRECATED - Fluentd Elasticsearch

incubator/fluentd-elasticsearch/README.md

latest7.5 KB
Original Source

DEPRECATED - Fluentd Elasticsearch

This chart is deprecated as we move to our own repo (https://kiwigrid.github.io) which will be puplished on hub.helm.sh soon. The chart source can be found here: https://github.com/kiwigrid/helm-charts/tree/master/charts/fluentd-elasticsearch

TL;DR;

console
$ helm install stable/fluentd-elasticsearch

Introduction

This chart bootstraps a Fluentd daemonset on a Kubernetes cluster using the Helm package manager. It's meant to be a drop in replacement for fluentd-gcp on GKE which sends logs to Google's Stackdriver service, but can also be used in other places where logging to ElasticSearch is required. The used Docker image also contains Google's detect exceptions (for Java multiline stacktraces), Prometheus exporter, Kubernetes metadata filter & Systemd plugins.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release stable/fluentd-elasticsearch

The command deploys fluentd-elasticsearch on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Fluentd elasticsearch chart and their default values.

ParameterDescriptionDefault
annotationsOptional daemonset annotationsNULL
podAnnotationsOptional daemonset's pods annotationsNULL
configMapsFluentd configmapsdefault conf files
elasticsearch.hostElasticsearch Hostelasticsearch-client
elasticsearch.portElasticsearch Port9200
elasticsearch.logstash_prefixElasticsearch Logstash prefixlogstash
elasticsearch.buffer_chunk_limitElasticsearch buffer chunk limit2M
elasticsearch.buffer_queue_limitElasticsearch buffer queue limit8
elasticsearch.schemeElasticsearch scheme settinghttp
envList of environment variables that are added to the fluentd pods{}
secretList of environment variables that are set from secrets and added to the fluentd pods[]
extraVolumeMountsMount an extra volume, required to mount ssl certificates when elasticsearch has tls enabled
extraVolumeExtra volume
image.repositoryImagegcr.io/google-containers/fluentd-elasticsearch
image.tagImage tagv2.3.2
image.pullPolicyImage pull policyIfNotPresent
livenessProbe.enabledWhether to enable livenessProbetrue
nodeSelectorOptional daemonset nodeSelector{}
podSecurityPolicy.annotationsSpecify pod annotations in the pod security policy{}
podSecurityPolicy.enabledSpecify if a pod security policy must be createdfalse
rbac.createRBACtrue
resources.limits.cpuCPU limit100m
resources.limits.memoryMemory limit500Mi
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request200Mi
serviceService definition{}
service.typeService type (ClusterIP/NodePort)Not Set
service.portsList of service ports dict [{name:...}...]Not Set
service.ports[].nameOne of service ports nameNot Set
service.ports[].portService portNot Set
service.ports[].nodePortNodePort port (when service.type is NodePort)Not Set
service.ports[].protocolService protocol(optional, can be TCP/UDP)Not Set
serviceAccount.createSpecifies whether a service account should be created.true
serviceAccount.nameName of the service account.
tolerationsOptional daemonset tolerations{}
updateStrategyOptional daemonset update strategytype: RollingUpdate

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

console
$ helm install --name my-release \
    stable/fluentd-elasticsearch

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

console
$ helm install --name my-release -f values.yaml stable/fluentd-elasticsearch