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

ParameterDescriptionDefault
tls.enabledEnabled TLS communication between componentstrue
tls.secretNameSpecified generic secret name, which contain tls certsThis will overwrite automatic Helm certificate generation and overrides fluentbit.tlsSecret and fluentd.tlsSecret.
tls.sharedKeyShared key between nodes (fluentd-fluentbit)[autogenerated]
fluentbit.enabledInstall fluent-bittrue
fluentbit.namespaceSpecified fluentbit installation namespacesame as operator namespace
fluentbit.image.tagFluentbit container image tag1.1.3
fluentbit.image.repositoryFluentbit container image repositoryfluent/fluent-bit
fluentbit.image.pullPolicyFluentbit container pull policyIfNotPresent
fluentbit.tolerationsFluentbit tolerationsnil
fluentbit.resourcesFluentbit container resource requests and limits{}
fluentbit.tlsSecretSecret name that contains Fluentbit TLS client certIgnored if tls.secretName is specified. Must refer to a secret of type kubernetes.io/tls
fluentd.enabledInstall fluentdtrue
fluentd.namespaceSpecified fluentd installation namespacesame as operator namespace
fluentd.image.tagFluentd container image tagv1.5.0
fluentd.image.repositoryFluentd container image repositorybanzaicloud/fluentd
fluentd.image.pullPolicyFluentd container pull policyIfNotPresent
fluentd.volumeModImage.tagFluentd volumeModImage container image taglatest
fluentd.volumeModImage.repositoryFluentd volumeModImage container image repositorybusybox
fluentd.volumeModImage.pullPolicyFluentd volumeModImage container pull policyIfNotPresent
fluentd.configReloaderImage.tagFluentd configReloaderImage container image tagv0.2.2
fluentd.configReloaderImage.repositoryFluentd configReloaderImage container image repositoryjimmidyson/configmap-reload
fluentd.configReloaderImage.pullPolicyFluentd configReloaderImage container pull policyIfNotPresent
fluentd.fluentdPvcSpec.accessModesFluentd persistence volume access modes[ReadWriteOnce]
fluentd.fluentdPvcSpec.resources.requests.storageFluentd persistence volume size21Gi
fluentd.resourcesFluentd container resource requests and limits{}
fluentd.tolerationsFluentd tolerationsnil
fluentd.tlsSecretSecret name that contains Fluentd TLS client certIgnored if tls.secretName is specified. Must refer to a secret of type kubernetes.io/tls.
psp.enabledInstall PodSecurityPolicyfalse

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartlogging-operator-fluent is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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