logging-operator-fluent
by Helm
Helm chartv1.0.1
Logging operator CR for Fluentd and Fluent-bit.
About this chart
Logging Operator Fluent Chart
tl;dr:
$ helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
$ helm repo update
# Prerequisites
$ helm install banzaicloud-stable/logging-operator
# Install fluent and fluent-bit cr
$ helm install banzaicloud-stable/logging-operator-fluent
Introduction
This chart applies Fluentd and Fluent-bit custom resources to Logging Operator deployment on a Kubernetes
Prerequisites
- Kubernetes 1.8+ with Beta APIs enabled
- Logging Operator
| Parameter | Description | Default |
|---|---|---|
tls.enabled | Enabled TLS communication between components | true |
tls.secretName | Specified generic secret name, which contain tls certs | This will overwrite automatic Helm certificate generation and overrides fluentbit.tlsSecret and fluentd.tlsSecret. |
tls.sharedKey | Shared key between nodes (fluentd-fluentbit) | [autogenerated] |
fluentbit.enabled | Install fluent-bit | true |
fluentbit.namespace | Specified fluentbit installation namespace | same as operator namespace |
fluentbit.image.tag | Fluentbit container image tag | 1.1.3 |
fluentbit.image.repository | Fluentbit container image repository | fluent/fluent-bit |
fluentbit.image.pullPolicy | Fluentbit container pull policy | IfNotPresent |
fluentbit.tolerations | Fluentbit tolerations | nil |
fluentbit.resources | Fluentbit container resource requests and limits | {} |
fluentbit.tlsSecret | Secret name that contains Fluentbit TLS client cert | Ignored if tls.secretName is specified. Must refer to a secret of type kubernetes.io/tls |
fluentd.enabled | Install fluentd | true |
fluentd.namespace | Specified fluentd installation namespace | same as operator namespace |
fluentd.image.tag | Fluentd container image tag | v1.5.0 |
fluentd.image.repository | Fluentd container image repository | banzaicloud/fluentd |
fluentd.image.pullPolicy | Fluentd container pull policy | IfNotPresent |
fluentd.volumeModImage.tag | Fluentd volumeModImage container image tag | latest |
fluentd.volumeModImage.repository | Fluentd volumeModImage container image repository | busybox |
fluentd.volumeModImage.pullPolicy | Fluentd volumeModImage container pull policy | IfNotPresent |
fluentd.configReloaderImage.tag | Fluentd configReloaderImage container image tag | v0.2.2 |
fluentd.configReloaderImage.repository | Fluentd configReloaderImage container image repository | jimmidyson/configmap-reload |
fluentd.configReloaderImage.pullPolicy | Fluentd configReloaderImage container pull policy | IfNotPresent |
fluentd.fluentdPvcSpec.accessModes | Fluentd persistence volume access modes | [ReadWriteOnce] |
fluentd.fluentdPvcSpec.resources.requests.storage | Fluentd persistence volume size | 21Gi |
fluentd.resources | Fluentd container resource requests and limits | {} |
fluentd.tolerations | Fluentd tolerations | nil |
fluentd.tlsSecret | Secret name that contains Fluentd TLS client cert | Ignored if tls.secretName is specified. Must refer to a secret of type kubernetes.io/tls. |
psp.enabled | Install PodSecurityPolicy | false |
Deploy logging-operator-fluent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has logging-operator-fluent 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 chartlogging-operator-fluent is pinned at v1.0.1 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