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
| Key | Type | Default | Description |
|---|---|---|---|
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| tls.enabled | bool | true | Enable secure connection between fluentd and fluent-bit |
| tls.fluentdSecretName | string | "" | Specified secret name, which contain tls certs |
| tls.fluentbitSecretName | string | "" | Specified secret name, which contain tls certs |
| tls.sharedKey | string | "" | |
| loggingRef | string | "" | Reference to the logging system. Each of the loggingRefs can manage a fluentbit daemonset and a fluentd statefulset. |
| flowConfigCheckDisabled | bool | false | Disable configuration check before applying new fluentd configuration. |
| skipInvalidResources | bool | false | Whether to skip invalid Flow and ClusterFlow resources |
| flowConfigOverride | string | "" | Override generated config. This is a raw configuration string for troubleshooting purposes. |
| fluentbitDisabled | bool | false | Flag to disable fluentbit completely |
| fluentbit | object | {} | Fluent-bit configurations https://kube-logging.github.io/docs/configuration/crds/v1beta1/fluentbit_types/ |
| fluentdDisabled | bool | false | Flag to disable fluentd completely |
| fluentd | object | {} | Fluentd configurations https://kube-logging.github.io/docs/configuration/crds/v1beta1/fluentd_types/ |
| syslogNG | object | {} | Syslog-NG statefulset configuration |
| defaultFlow | object | {} | Default flow for unmatched logs. This Flow configuration collects all logs that didn’t matched any other Flow. |
| errorOutputRef | string | "" | GlobalOutput name to flush ERROR events to |
| globalFilters | list | [] | Global filters to apply on logs before any match or filter mechanism. |
| watchNamespaces | list | [] | Limit namespaces to watch Flow and Output custom resources. |
| clusterDomain | string | "cluster.local" | Cluster domain name to be used when templating URLs to services |
| controlNamespace | string | "" | 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. |
| allowClusterResourcesFromAllNamespaces | bool | false | Allow configuration of cluster resources from any namespace. Mutually exclusive with ControlNamespace restriction of Cluster resources |
| nodeAgents | object | {} | NodeAgent Configuration |
| enableRecreateWorkloadOnImmutableFieldChange | bool | false | EnableRecreateWorkloadOnImmutableFieldChange 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. |
| clusterFlows | list | [] | ClusterFlows to deploy |
| clusterOutputs | list | [] | ClusterOutputs to deploy |
| eventTailer | object | {} | EventTailer config |
| hostTailer | object | {} | HostTailer config |
| scc.enabled | bool | false | OpenShift 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlogging-operator-logging is pinned at v4.2.2 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