FluentdSpec

FluentdSpec

FluentdSpec defines the desired state of Fluentd

statefulsetAnnotations (map[string]string, optional)

Default: -

annotations (map[string]string, optional)

Default: -

configCheckAnnotations (map[string]string, optional)

Default: -

labels (map[string]string, optional)

Default: -

envVars ([]corev1.EnvVar, optional)

Default: -

tls (FluentdTLS, optional)

Default: -

image (ImageSpec, optional)

Default: -

disablePvc (bool, optional)

Default: -

bufferStorageVolume (volume.KubernetesVolume, optional)

BufferStorageVolume is by default configured as PVC using FluentdPvcSpec volume.KubernetesVolume

Default: -

extraVolumes ([]ExtraVolume, optional)

Default: -

fluentdPvcSpec (*volume.KubernetesVolume, optional)

Deprecated, use bufferStorageVolume

Default: -

volumeMountChmod (bool, optional)

Default: -

volumeModImage (ImageSpec, optional)

Default: -

configReloaderImage (ImageSpec, optional)

Default: -

resources (corev1.ResourceRequirements, optional)

Default: -

configCheckResources (corev1.ResourceRequirements, optional)

Default: -

configReloaderResources (corev1.ResourceRequirements, optional)

Default: -

livenessProbe (*corev1.Probe, optional)

Default: -

livenessDefaultCheck (bool, optional)

Default: -

readinessProbe (*corev1.Probe, optional)

Default: -

readinessDefaultCheck (ReadinessDefaultCheck, optional)

Default: -

port (int32, optional)

Fluentd port inside the container (24240 by default). The headless service port is controlled by this field as well. Note that the default ClusterIP service port is always 24240, regardless of this field.

Default: 24240

tolerations ([]corev1.Toleration, optional)

Default: -

nodeSelector (map[string]string, optional)

Default: -

affinity (*corev1.Affinity, optional)

Default: -

topologySpreadConstraints ([]corev1.TopologySpreadConstraint, optional)

Default: -

metrics (*Metrics, optional)

Default: -

bufferVolumeMetrics (*Metrics, optional)

Default: -

bufferVolumeImage (ImageSpec, optional)

Default: -

bufferVolumeArgs ([]string, optional)

Default: -

bufferVolumeResources (corev1.ResourceRequirements, optional)

Default: -

security (*Security, optional)

Default: -

scaling (*FluentdScaling, optional)

Default: -

workers (int32, optional)

Default: -

rootDir (string, optional)

Default: -

logLevel (string, optional)

Default: -

ignoreSameLogInterval (string, optional)

Ignore same log lines more info

Default: -

ignoreRepeatedLogInterval (string, optional)

Ignore repeated log lines more info

Default: -

enableMsgpackTimeSupport (bool, optional)

Allows Time object in buffer’s MessagePack serde more info

Default: -

podPriorityClassName (string, optional)

Default: -

fluentLogDestination (string, optional)

Default: -

fluentOutLogrotate (*FluentOutLogrotate, optional)

FluentOutLogrotate sends fluent’s stdout to file and rotates it

Default: -

forwardInputConfig (*input.ForwardInputConfig, optional)

Default: -

serviceAccount (*typeoverride.ServiceAccount, optional)

Default: -

dnsPolicy (corev1.DNSPolicy, optional)

Default: -

dnsConfig (*corev1.PodDNSConfig, optional)

Default: -

extraArgs ([]string, optional)

Default: -

compressConfigFile (bool, optional)

Default: -

FluentOutLogrotate

enabled (bool, required)

Default: -

path (string, optional)

Default: -

age (string, optional)

Default: -

size (string, optional)

Default: -

ExtraVolume

ExtraVolume defines the fluentd extra volumes

volumeName (string, optional)

Default: -

path (string, optional)

Default: -

containerName (string, optional)

Default: -

volume (*volume.KubernetesVolume, optional)

Default: -

FluentdScaling

FluentdScaling enables configuring the scaling behaviour of the fluentd statefulset

replicas (int, optional)

Default: -

podManagementPolicy (string, optional)

Default: -

drain (FluentdDrainConfig, optional)

Default: -

FluentdTLS

FluentdTLS defines the TLS configs

enabled (bool, required)

Default: -

secretName (string, optional)

Default: -

sharedKey (string, optional)

Default: -

FluentdDrainConfig

FluentdDrainConfig enables configuring the drain behavior when scaling down the fluentd statefulset

enabled (bool, optional)

Should buffers on persistent volumes left after scaling down the statefulset be drained

Default: -

annotations (map[string]string, optional)

Annotations to use for the drain watch sidecar

Default: -

labels (map[string]string, optional)

Labels to use for the drain watch sidecar on top of labels added by the operator by default. Default values can be overwritten.

Default: -

deleteVolume (bool, optional)

Should persistent volume claims be deleted after draining is done

Default: -

image (ImageSpec, optional)

Default: -

pauseImage (ImageSpec, optional)

Container image to use for the fluentd placeholder pod

Default: -

resources (*corev1.ResourceRequirements, optional)

Available in Logging operator version 4.4 and later.

Configurable resource requirements for the drainer sidecar container. Default 20m cpu request, 20M memory limit

Default: -

securityContext (*corev1.SecurityContext, optional)

Available in Logging operator version 4.4 and later.

Configurable security context, uses fluentd pods’ security context by default

Default: -

Last modified December 27, 2023: Version number bumps (00b4afd)