Files
ReillyProcentiveandKubernetes Prow Robot bcf9cb9f31 [stable/sumologic-fluentd] Update sumologic fluentd collector to 2.4.2 (#16871)
* Update sumologic fluentd collector to 2.4.2

Signed-off-by: Reilly Brogan <Reilly@procentive.com>

* Ensure all fluentd config files end in newline

Signed-off-by: Reilly Brogan <Reilly@procentive.com>
2019-12-10 11:02:05 -08:00

207 lines
7.1 KiB
YAML

# Default values for sumologic-fluentd.
image:
name: sumologic/fluentd-kubernetes-sumologic
tag: v2.4.2
pullPolicy: IfNotPresent
## Annotations to add to the DaemonSet's Pods
podAnnotations: {}
# scheduler.alpha.kubernetes.io/tolerations: '[{"key": "example", "value": "foo"}]'
## Annotations to add to the DaemonSet
daemonsetAnnotations: {}
## Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
tolerations: []
# - key: node.alpha.kubernetes.io/role
# effect: NoSchedule
# operator: "Exists"
## Node labels for fluentd pod assignment
nodeSelector: {}
## Expressions for affinity
affinity: {}
# Extra environment variables to set for fluentd
extraEnv: []
## Allow the DaemonSet to perform a rolling update on helm update
## ref: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/
updateStrategy: OnDelete
sumologic:
## You'll need to set this to sumo collector, before the agent will run.
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#sumologic
# collectorUrl:
## Use existing Secret which stores collector url instead of creating a new one
# collectorUrlExistingSecret:
## The source of fluentd logs, either file or systemd
fluentdSource: file
## A directory of user-defined fluentd configuration files, which must be in the "*.conf" directory
## in the container (Default "/fluentd/conf.d/user")
fluentdUserConfigDir: ""
## Provide user-defined fluentd configuration files
## Each key will become a file in `fluentdUserConfigDir`
##
# fluentdUserConfig:
# source.systemd.conf: |-
# <source>
# ...
# </source>
## How frequently to push logs to SumoLogic (default 5s)
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
# flushInterval: 5
## Increase number of http threads to Sumo. May be required in heavy logging clusters (default 1)
# numThreads: 1
## Set the _sourceName metadata field in SumoLogic. (Default "%{namespace}.%{pod}.%{container}")
sourceName: ""
## Set the _sourceHost metadata field in SumoLogic. (Default Nil)
sourceHost: ""
## Set the _sourceCategory metadata field in SumoLogic. (Default "%{namespace}/%{pod_name}")
sourceCategory: ""
## Set the prefix, for _sourceCategory metadata. (Default kubernetes/)
sourceCategoryPrefix: "kubernetes/"
## Used to replace - with another character. (default /)
sourceCategoryReplaceDash: ""
## Format to post logs into Sumo. json, json_merge, or text (default json)
logFormat: json
## Include or exclude Kubernetes metadata such as namespace and pod_name if
## using json log format. (default true)
kubernetesMeta: true
## A ruby regex for containers. All matching containers will be excluded
## from Sumo Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludeContainerRegex: ""
## Files matching this pattern will be ignored by the in_tail plugin, and will
## not be sent to Kubernetes or Sumo Logic. This can be a comma separated list.
## ref: http://docs.fluentd.org/v0.12/articles/in_tail#excludepath
excludePath: ""
## A ruby regex for hosts. All matching hosts will be excluded from Sumo
## Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludeHostRegex: ""
## A ruby regex for namespaces. All matching namespaces will be excluded
## from Sumo Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludeNamespaceRegex: ""
## A ruby regex for pods. All matching pods will be excluded from Sumo
## Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
excludePodRegex: ""
## A ruby regex for systemd units. All matching facilities will be excluded from
## Sumo Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludeFacilityRegex: ""
## A ruby regex for syslog priorities, which are integers represented as
## strings. All matching priorities will be excluded from
## Sumo Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludePriorityRegex: ""
## A ruby regex for systemd units. All matching hosts will be excluded from
## Sumo Logic. The logs will still be sent to FluentD
## ref: http://rubular.com/
## ref: https://github.com/SumoLogic/fluentd-kubernetes-sumologic#options
excludeUnitRegex: ""
## The field name for json formatted sources that should be used as the time
## ref: https://docs.fluentd.org/v0.12/articles/formatter_json#time_key-(string,-optional,-defaults-to-%E2%80%9Ctime%E2%80%9D)
# timeKey:
## Specify the path in_tail should watch for container logs. (Default /mnt/log/containers/*.log)
# containerLogsPath:
## Add the uri of the proxy environment if present.
# proxyUri:
## Option to control the enabling of stat_watcher. (Default true)
## ref: https://docs.fluentd.org/v1.0/articles/in_tail#enable_stat_watcher
# enableStatWatcher:
## Option to control adding timestamp to logs. (Default true)
addTimeStamp: true
## Option to control adding time to logs. (Default true)
addTime: true
## Option to control adding stream to logs. (Default true)
addStream: true
## Fluentd command line options
## ref: http://docs.fluentd.org/v0.12/articles/command-line-option
fluentdOpt: ""
## Verify SumoLogic HTTPS certificates (Default true)
verifySsl: true
## The regular expression for the "concat" plugin to use when merging multi-line messages
## (Default "/^\w{3} \d{1,2}, \d{4}/", i.e. Julian dates)
multilineStartRegexp: ""
## Start to read the logs from the head of file, not bottom.
## Only applies to containers log files. See in_tail doc for more information (Default true)
readFromHead: true
## The character to use to delimit lines within the final concatenated message.
## Most multi-line messages contain a newline at the end of each line (Default Nil)
concatSeparator: ""
## Define the path to the Kubernetes Audit Log (Default "/mnt/log/kube-apiserver-audit.log")
## ref: https://kubernetes.io/docs/tasks/debug-application-cluster/audit/
auditLogPath: ""
## Note: Requires Kubernetes 1.8+ to enable this feature via hostPath volume type
## By default, the daemonset will store position files, for logs tailed, in an
## emptyDir. If you have already have a directory on the host for storing pos files,
## specify it here. Otherwise, it can create the directory for you by setting the type
## to "DirectoryOrCreate".
persistence:
enabled: false
hostPath: /var/run/fluentd-pos
createPath: false
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 256m
memory: 256Mi
rbac:
## If true, create and use RBAC resources
create: false
## Ignored if rbac.create is true
serviceAccountName: default
daemonset: {}
# Priority Class to use for deployed daemonsets
# priorityClassName: ""