logging-operator-logging

by Kube logging

Helm chartv4.2.2Verified publisher

A Helm chart to configure logging resource for the Logging operator.

About this chart

logging-operator-logging

A Helm chart to configure logging resource for the Logging operator.

Homepage: https://kube-logging.github.io

TL;DR;

helm repo add kube-logging https://kube-logging.github.io/helm-charts
helm install --generate-name --wait kube-logging/logging-operator-logging

Values

KeyTypeDefaultDescription
nameOverridestring""
fullnameOverridestring""
tls.enabledbooltrueEnable secure connection between fluentd and fluent-bit
tls.fluentdSecretNamestring""Specified secret name, which contain tls certs
tls.fluentbitSecretNamestring""Specified secret name, which contain tls certs
tls.sharedKeystring""
loggingRefstring""Reference to the logging system. Each of the loggingRefs can manage a fluentbit daemonset and a fluentd statefulset.
flowConfigCheckDisabledboolfalseDisable configuration check before applying new fluentd configuration.
skipInvalidResourcesboolfalseWhether to skip invalid Flow and ClusterFlow resources
flowConfigOverridestring""Override generated config. This is a raw configuration string for troubleshooting purposes.
fluentbitDisabledboolfalseFlag to disable fluentbit completely
fluentbitobject{}Fluent-bit configurations https://kube-logging.github.io/docs/configuration/crds/v1beta1/fluentbit_types/
fluentdDisabledboolfalseFlag to disable fluentd completely
fluentdobject{}Fluentd configurations https://kube-logging.github.io/docs/configuration/crds/v1beta1/fluentd_types/
syslogNGobject{}Syslog-NG statefulset configuration
defaultFlowobject{}Default flow for unmatched logs. This Flow configuration collects all logs that didn’t matched any other Flow.
errorOutputRefstring""GlobalOutput name to flush ERROR events to
globalFilterslist[]Global filters to apply on logs before any match or filter mechanism.
watchNamespaceslist[]Limit namespaces to watch Flow and Output custom resources.
clusterDomainstring"cluster.local"Cluster domain name to be used when templating URLs to services
controlNamespacestring""Namespace for cluster wide configuration resources like ClusterFlow and ClusterOutput. This should be a protected namespace from regular users. Resources like fluentbit and fluentd will run in this namespace as well.
allowClusterResourcesFromAllNamespacesboolfalseAllow configuration of cluster resources from any namespace. Mutually exclusive with ControlNamespace restriction of Cluster resources
nodeAgentsobject{}NodeAgent Configuration
enableRecreateWorkloadOnImmutableFieldChangeboolfalseEnableRecreateWorkloadOnImmutableFieldChange enables the operator to recreate the fluentbit daemonset and the fluentd statefulset (and possibly other resource in the future) in case there is a change in an immutable field that otherwise couldn’t be managed with a simple update.
clusterFlowslist[]ClusterFlows to deploy
clusterOutputslist[]ClusterOutputs to deploy
eventTailerobject{}EventTailer config
hostTailerobject{}HostTailer config
scc.enabledboolfalseOpenShift SecurityContextConstraints enabled

Deploy logging-operator-logging 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-logging 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-logging is pinned at v4.2.2 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