mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Fluent-bit chart add splunk support * Fluent-bit lint fix and version bump * Add back missing chart values and move parsers to where they were
142 lines
3.7 KiB
YAML
142 lines
3.7 KiB
YAML
# Minikube stores its logs in a separate directory.
|
|
# enable if started in minikube.
|
|
on_minikube: false
|
|
|
|
image:
|
|
fluent_bit:
|
|
repository: fluent/fluent-bit
|
|
tag: 0.13.0
|
|
pullPolicy: Always
|
|
|
|
# When enabled, exposes json and prometheus metrics on {{ .Release.Name }}-metrics service
|
|
metrics:
|
|
enabled: false
|
|
service:
|
|
port: 2020
|
|
type: ClusterIP
|
|
|
|
# When enabled, fluent-bit will keep track of tailing offsets across pod restarts.
|
|
trackOffsets: false
|
|
|
|
backend:
|
|
type: forward
|
|
forward:
|
|
host: fluentd
|
|
port: 24284
|
|
es:
|
|
host: elasticsearch
|
|
port: 9200
|
|
# Elastic Index Name
|
|
index: kubernetes_cluster
|
|
type: flb_type
|
|
logstash_prefix: kubernetes_cluster
|
|
# Optional username credential for Elastic X-Pack access
|
|
http_user:
|
|
# Password for user defined in HTTP_User
|
|
http_passwd:
|
|
# Optional TLS encryption to ElasticSearch instance
|
|
tls: "off"
|
|
tls_verify: "on"
|
|
# TLS certificate for the Elastic (in PEM format). Use if tls=on and tls_verify=on.
|
|
tls_ca: ""
|
|
# TLS debugging levels = 1-5
|
|
tls_debug: 1
|
|
splunk:
|
|
host: 127.0.0.1
|
|
port: 8088
|
|
token: ""
|
|
send_raw: "on"
|
|
tls: "on"
|
|
tls_verify: "off"
|
|
message_key: "kubernetes"
|
|
|
|
##
|
|
## Ref: http://fluentbit.io/documentation/current/output/http.html
|
|
##
|
|
http:
|
|
host: 127.0.0.1
|
|
port: 80
|
|
uri: "/"
|
|
## Specify the data format to be used in the HTTP request body
|
|
## Can be either 'msgpack' or 'json'
|
|
format: msgpack
|
|
|
|
parsers:
|
|
## List the respective parsers in key: value format per entry
|
|
## Regex required fields are name and regex. JSON required field
|
|
## is name.
|
|
regex: []
|
|
json: []
|
|
|
|
env: []
|
|
|
|
## Annotations to add to the DaemonSet's Pods
|
|
podAnnotations: {}
|
|
|
|
## ConfigMap override where fullname is {{.Release.Name}}-{{.Values.existingConfigMap}}
|
|
## Defining existingConfigMap will cause templates/config.yaml
|
|
## to NOT generate a ConfigMap resource
|
|
##
|
|
existingConfigMap: ""
|
|
|
|
## Extra volumes containing additional files required for fluent-bit to work
|
|
## (eg. CA certificates)
|
|
## Ref: https://kubernetes.io/docs/concepts/storage/volumes/
|
|
##
|
|
extraVolumes: []
|
|
|
|
## Extra volume mounts for the fluent-bit pod.
|
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/
|
|
##
|
|
extraVolumeMounts: []
|
|
|
|
resources:
|
|
limits:
|
|
memory: 100Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
|
|
## Node tolerations for fluent-bit scheduling to nodes with taints
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
|
##
|
|
tolerations: []
|
|
# - key: "key"
|
|
# operator: "Equal|Exists"
|
|
# value: "value"
|
|
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
|
|
|
|
## Node labels for fluent-bit pod assignment
|
|
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
|
|
filter:
|
|
kubeURL: https://kubernetes.default.svc:443
|
|
kubeCAFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
|
|
kubeTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
|
|
kubeTag: kube
|
|
# If true, check to see if the log field content is a JSON string map, if so,
|
|
# it append the map fields as part of the log structure.
|
|
# mergeJSONLog: true
|
|
|
|
# If true, enable the use of monitoring for a pod annotation of
|
|
# fluentbit.io/parser: parser_name. parser_name must be the name
|
|
# of a parser contained within parsers.conf
|
|
# enableParser: true
|
|
|
|
# If true, enable the use of monitoring for a pod annotation of
|
|
# fluentbit.io/exclude: true. If present, discard logs from that pod.
|
|
# enableExclude: true
|
|
|
|
rbac:
|
|
# Specifies whether RBAC resources should be created
|
|
create: true
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: true
|
|
# The name of the ServiceAccount to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|