From 50ffcf28eb0ac8ea79673b2f02d25fc2a769670c Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 5 Mar 2021 16:53:02 +0100 Subject: [PATCH] Version upgrade ES/Kibana and Fluentbit, various tunings --- charts/kubezero-logging/Chart.yaml | 8 +- .../charts/fluent-bit/Chart.yaml | 35 +- .../fluent-bit/conf/custom_parsers.conf | 6 - .../charts/fluent-bit/conf/fluent-bit.conf | 76 - .../charts/fluent-bit/conf/functions.lua | 28 - .../fluent-bit/dashboards/fluent-bit.json | 1305 +++++++++++++++++ .../charts/fluent-bit/templates/_pod.tpl | 29 +- .../templates/configmap-dashboards.yaml | 20 + .../templates/configmap-luascripts.yaml | 12 + .../fluent-bit/templates/configmap.yaml | 9 +- .../fluent-bit/templates/daemonset.yaml | 1 + .../fluent-bit/templates/deployment.yaml | 1 + .../fluent-bit/templates/networkpolicy.yaml | 22 + .../fluent-bit/templates/prometheusrule.yaml | 20 + .../templates/tests/test-connection.yaml | 9 +- .../charts/fluent-bit/values.yaml | 126 +- charts/kubezero-logging/fluent-bit.patch | 37 + .../templates/eck/elasticsearch.yaml | 26 +- .../templates/eck/kibana.yaml | 2 +- charts/kubezero-logging/update.sh | 8 + charts/kubezero-logging/values.yaml | 131 +- 21 files changed, 1734 insertions(+), 177 deletions(-) delete mode 100644 charts/kubezero-logging/charts/fluent-bit/conf/custom_parsers.conf delete mode 100644 charts/kubezero-logging/charts/fluent-bit/conf/fluent-bit.conf delete mode 100644 charts/kubezero-logging/charts/fluent-bit/conf/functions.lua create mode 100644 charts/kubezero-logging/charts/fluent-bit/dashboards/fluent-bit.json create mode 100644 charts/kubezero-logging/charts/fluent-bit/templates/configmap-dashboards.yaml create mode 100644 charts/kubezero-logging/charts/fluent-bit/templates/configmap-luascripts.yaml create mode 100644 charts/kubezero-logging/charts/fluent-bit/templates/networkpolicy.yaml create mode 100644 charts/kubezero-logging/charts/fluent-bit/templates/prometheusrule.yaml create mode 100644 charts/kubezero-logging/fluent-bit.patch create mode 100755 charts/kubezero-logging/update.sh diff --git a/charts/kubezero-logging/Chart.yaml b/charts/kubezero-logging/Chart.yaml index a78f85d7..f030c779 100644 --- a/charts/kubezero-logging/Chart.yaml +++ b/charts/kubezero-logging/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: kubezero-logging description: KubeZero Umbrella Chart for complete EFK stack type: application -version: 0.5.3 -appVersion: 1.3.1 +version: 0.6.0 +appVersion: 1.4.0 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: @@ -19,13 +19,13 @@ dependencies: version: ">= 0.1.3" repository: https://zero-down-time.github.io/kubezero/ - name: eck-operator - version: 1.3.1 + version: 1.4.0 repository: https://helm.elastic.co condition: eck-operator.enabled - name: fluentd version: 2.5.3 condition: fluentd.enabled - name: fluent-bit - version: 0.7.14 + version: 0.12.3 condition: fluent-bit.enabled kubeVersion: ">= 1.16.0" diff --git a/charts/kubezero-logging/charts/fluent-bit/Chart.yaml b/charts/kubezero-logging/charts/fluent-bit/Chart.yaml index f29b870d..f83e7594 100644 --- a/charts/kubezero-logging/charts/fluent-bit/Chart.yaml +++ b/charts/kubezero-logging/charts/fluent-bit/Chart.yaml @@ -1,20 +1,23 @@ +annotations: + artifacthub.io/changes: | + - add custom annotations on dashboards configmap apiVersion: v2 -name: fluent-bit +appVersion: 1.7.1 description: Fast and lightweight log processor and forwarder or Linux, OSX and BSD family operating systems. -keywords: - - logging - - fluent-bit - - fluentd -version: 0.7.14 -appVersion: 1.6.8 -icon: https://fluentbit.io/assets/img/logo1-default.png home: https://fluentbit.io/ -sources: - - https://github.com/fluent/fluent-bit/ +icon: https://fluentbit.io/assets/img/logo1-default.png +keywords: +- logging +- fluent-bit +- fluentd maintainers: - - name: edsiper - email: eduardo@treasure-data.com - - name: naseemkullah - email: naseem@transit.app - - name: Towmeykaw - email: towmeykaw@gmail.com +- email: eduardo@treasure-data.com + name: edsiper +- email: naseem@transit.app + name: naseemkullah +- email: towmeykaw@gmail.com + name: Towmeykaw +name: fluent-bit +sources: +- https://github.com/fluent/fluent-bit/ +version: 0.12.3 diff --git a/charts/kubezero-logging/charts/fluent-bit/conf/custom_parsers.conf b/charts/kubezero-logging/charts/fluent-bit/conf/custom_parsers.conf deleted file mode 100644 index a2055dba..00000000 --- a/charts/kubezero-logging/charts/fluent-bit/conf/custom_parsers.conf +++ /dev/null @@ -1,6 +0,0 @@ -[PARSER] - Name cri-log - Format regex - Regex ^(?