OS Manuals

/usr/bin/config-reloader

Auto-configuration of Fluentd daemon-set based on Kubernetes metadata

From kube-fluentd-operator 1.18.2-r79 (enterprise-packages), captured 2026-11-08 by running config-reloader --help (exit 0). permalink

usage: config-reloader [<flags>]

Regenerates Fluentd configs based Kubernetes namespace annotations against templates, reloading
Fluentd if necessary

Flags:
  --help                         Show context-sensitive help (also try --help-long and --help-man).
  --version                      Show application version.
  --master=""                    The Kubernetes API server to connect to (default: auto-detect)
  --kubeconfig=""                Retrieve target cluster configuration from a Kubernetes
                                 configuration file (default: auto-detect)
  --datasource=default           Datasource to use default|fake|fs|multimap|crd (default: default)
  --crd-migration-mode           Enable the crd datasource together with the current
                                 datasource to facilitate the migration (used only with
                                 --datasource=default|multimap)
  --fs-dir=FS-DIR                If --datasource=fs is used, configure the dir hosting the files
  --interval=60                  Run every x seconds
  --allow-file                   Allow @type file for namespace configuration
  --id="default"                 The id of this deployment. It is used internally so that two
                                 deployments don't overwrite each other's data
  --fluentd-rpc-port=24444       RPC port of Fluentd
  --log-level="info"             Control verbosity of log level for reloader
  --fluentd-loglevel="info"      Control verbosity of log level for fluentd
  --buffer-mount-folder=""       Folder in /var/log/{} where to create all fluentd buffers
  --annotation="logging.csp.vmware.com/fluentd-configmap"
                                 Which annotation on the namespace stores the configmap name?
  --default-configmap="fluentd-config"
                                 Read the configmap by this name if namespace is not annotated.
                                 Use empty string to suppress the default.
  --status-annotation="logging.csp.vmware.com/fluentd-status"
                                 Store configuration errors in this annotation, leave empty to turn
                                 off
  --allow-label=""               When set only objects with this label can be fetched using go
                                 templating
  --allow-label-annotation=""    Which annotation on the namespace stores the allow label?
  --prometheus-enabled           Prometheus metrics enabled (default: false)
  --metrics-port=9000            Expose prometheus metrics on this port (also needs
                                 --prometheus-enabled)
  --kubelet-root="/var/lib/kubelet/"
                                 Kubelet root dir, configured using --root-dir on the kubelet
                                 service
  --namespaces=NAMESPACES ...    List of namespaces to process. If empty, processes all namespaces
  --templates-dir="/templates"   Where to find templates
  --output-dir="/fluentd/etc"    Where to output config files
  --meta-key=META-KEY            Attach metadata under this key
  --meta-values=META-VALUES      Metadata in the k=v,k2=v2 format
  --fluentd-binary=FLUENTD-BINARY
                                 Path to fluentd binary used to validate configuration
  --label-selector=LABEL-SELECTOR
                                 Label selector in the k=v,k2=v2 format (used only with
                                 --datasource=multimap)
  --allow-tag-expansion          Allow specifying tags in the format 'k.{a,b}.** k.c.**' (default:
                                 false)
  --admin-namespace="kube-system"
                                 Configurations defined in this namespace are copied as is, without
                                 further processing. Virtual plugins can also be defined in this
                                 namespace
  --exec-timeout=30              Timeout duration (in seconds) for exec command during validation
  --container-bytes-limit=51200  read_bytes_limit_per_second parameter for tail plugin per container
                                 file. Default 2MB/min
  --namespace-selector=NAMESPACE-SELECTOR
                                 Namespace selector in the k=v,k2=v2 format to select namespaces to
                                 process based on their labels.
Options (34)
OptionDescriptionSource
--helpShow context-sensitive help (also try --help-long and --help-man).help
--versionShow application version.help
--master ""The Kubernetes API server to connect to (default: auto-detect)help
--kubeconfig ""Retrieve target cluster configuration from a Kubernetes configuration file (default: auto-detect)help
--datasource defaultDatasource to use default|fake|fs|multimap|crd (default: default)help
--crd-migration-modeEnable the crd datasource together with the current datasource to facilitate the migration (used only withhelp
--fs-dir FS-DIRIf --datasource=fs is used, configure the dir hosting the fileshelp
--interval 60Run every x secondshelp
--allow-fileAllow @type file for namespace configurationhelp
--id "default"The id of this deployment.help
--fluentd-rpc-port 24444RPC port of Fluentdhelp
--log-level "info"Control verbosity of log level for reloaderhelp
--fluentd-loglevel "info"Control verbosity of log level for fluentdhelp
--buffer-mount-folder ""Folder in /var/log/{} where to create all fluentd buffershelp
--annotationWhich annotation on the namespace stores the configmap name?help
--default-configmap "fluentd-config"Read the configmap by this name if namespace is not annotated.help
--status-annotation "logging.csp.vmware.com/fluentd-status"Store configuration errors in this annotation, leave empty to turn offhelp
--allow-label ""When set only objects with this label can be fetched using go templatinghelp
--allow-label-annotation ""Which annotation on the namespace stores the allow label?help
--prometheus-enabledPrometheus metrics enabled (default: false)help
--metrics-port 9000Expose prometheus metrics on this port (also needshelp
--kubelet-root "/var/lib/kubelet/"Kubelet root dir, configured using --root-dir on the kubelet servicehelp
--namespaces NAMESPACESList of namespaces to process.help
--templates-dir "/templates"Where to find templateshelp
--output-dir "/fluentd/etc"Where to output config fileshelp
--meta-key META-KEYAttach metadata under this keyhelp
--meta-values META-VALUESMetadata in the k=v,k2=v2 formathelp
--fluentd-binary FLUENTD-BINARYPath to fluentd binary used to validate configurationhelp
--label-selector LABEL-SELECTORLabel selector in the k=v,k2=v2 format (used only withhelp
--allow-tag-expansionAllow specifying tags in the format 'k.{a,b}.** k.c.**' (default: false)help
--admin-namespace "kube-system"Configurations defined in this namespace are copied as is, without further processing.help
--exec-timeout 30Timeout duration (in seconds) for exec command during validationhelp
--container-bytes-limit 51200read_bytes_limit_per_second parameter for tail plugin per container file.help
--namespace-selector NAMESPACE-SELECTORNamespace selector in the k=v,k2=v2 format to select namespaces to process based on their labels.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.