fluentd
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on.
About this chart
Fluentd packaged by Bitnami
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/fluentd
Introduction
This chart bootstraps a Fluentd deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
Note: Please, note that the forwarder runs the container as root by default setting the
forwarder.securityContext.runAsUserto0(root user)
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/fluentd
These commands deploy Fluentd on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release resources:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release. Use the option --purge to delete all history too.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
clusterDomain | Cluster Domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
Fluentd parameters
| Name | Description | Value |
|---|---|---|
image.registry | Fluentd image registry | docker.io |
image.repository | Fluentd image repository | bitnami/fluentd |
image.tag | Fluentd image tag (immutable tags are recommended) | 1.15.3-debian-11-r1 |
image.pullPolicy | Fluentd image pull policy | IfNotPresent |
image.pullSecrets | Fluentd image pull secrets | [] |
image.debug | Enable image debug mode | false |
forwarder.enabled | Enable forwarder daemonset | true |
forwarder.image.registry | Fluentd forwarder image registry override | "" |
forwarder.image.repository | Fluentd forwarder image repository override | "" |
forwarder.image.tag | Fluentd forwarder image tag override (immutable tags are recommended) | "" |
forwarder.daemonUser | Forwarder daemon user and group (set to root by default because it reads from host paths) | root |
forwarder.daemonGroup | Fluentd forwarder daemon system group | root |
forwarder.hostAliases | Add deployment host aliases | [] |
forwarder.podSecurityContext.enabled | Enable security context for forwarder pods | true |
forwarder.podSecurityContext.runAsUser | User ID for forwarder's containers | 0 |
forwarder.podSecurityContext.runAsGroup | Group ID for forwarder's containers | 0 |
forwarder.podSecurityContext.fsGroup | Group ID for forwarder's containers filesystem | 0 |
forwarder.containerSecurityContext.enabled | Enable security context for the forwarder container | true |
forwarder.containerSecurityContext.privileged | Run as privileged | false |
forwarder.containerSecurityContext.allowPrivilegeEscalation | Allow Privilege Escalation | false |
forwarder.containerSecurityContext.readOnlyRootFilesystem | Require the use of a read only root file system | false |
forwarder.containerSecurityContext.capabilities.drop | Drop capabilities for the securityContext | [] |
forwarder.hostNetwork | Enable use of host network | false |
forwarder.dnsPolicy | Pod-specific DNS policy | "" |
forwarder.terminationGracePeriodSeconds | Duration in seconds the pod needs to terminate gracefully | 30 |
forwarder.configFile | Name of the config file that will be used by Fluentd at launch under the /opt/bitnami/fluentd/conf directory | fluentd.conf |
forwarder.configMap | Name of the config map that contains the Fluentd configuration files | "" |
forwarder.configMapFiles | Files to be added to be config map. Ignored if forwarder.configMap is set | {} |
forwarder.extraArgs | Extra arguments for the Fluentd command line | "" |
forwarder.extraEnvVars | Extra environment variables to pass to the container | [] |
forwarder.extraEnvVarsCM | Name of existing ConfigMap containing extra env |
Deploy fluentd with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fluentd on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfluentd is pinned at v5.5.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply