usage: config-reloader [] 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.