From 893d40ea42aa861a75a28fba11af280ca3a97401 Mon Sep 17 00:00:00 2001 From: Miri Bar <37478344+mirii1994@users.noreply.github.com> Date: Sun, 23 Jul 2023 13:08:42 +0300 Subject: [PATCH] bump fluent-plugin-logzio version, build new docker files, readme (#88) * bump fluent-plugin-logzio version, build new docker files, readme * update gem --- Dockerfile | 2 +- Dockerfile.arm | 2 +- Gemfile | 2 +- README.md | 14 ++++++++++---- logzio-daemonset-containerd-monitoring.yaml | 2 +- logzio-daemonset-containerd.yaml | 2 +- logzio-daemonset-rbac-monitoring.yaml | 2 +- logzio-daemonset-rbac.yaml | 2 +- logzio-daemonset.yaml | 2 +- 9 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index d52fbdc..00cdb60 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM fluent/fluentd-kubernetes-daemonset:v1.15-debian-logzio-amd64-1 +FROM fluent/fluentd-kubernetes-daemonset:v1.16-debian-logzio-amd64-1 USER root WORKDIR /fluentd diff --git a/Dockerfile.arm b/Dockerfile.arm index c3b25ec..d88ea49 100755 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -1,4 +1,4 @@ -FROM logzio/fluentd-kubernetes-daemonset-arm:v1.15-debian-logzio-arm +FROM logzio/fluentd-kubernetes-daemonset-arm:v1.16-debian-logzio-arm USER root WORKDIR /fluentd diff --git a/Gemfile b/Gemfile index 1b90c49..f3e687b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source "https://rubygems.org" -gem "fluent-plugin-logzio", ">=0.1.0" +gem "fluent-plugin-logzio", ">=0.2.2" gem "fluent-plugin-kubernetes_metadata_filter", ">=3.1.2" gem "fluent-plugin-dedot_filter", ">=1.0.0" gem "fluent-plugin-prometheus", ">=2.0.3" \ No newline at end of file diff --git a/README.md b/README.md index bb24186..af03c63 100755 --- a/README.md +++ b/README.md @@ -215,9 +215,19 @@ These templates collects and exposes fluentd metrics on port `24231`, `/metrics` ### Changelog **logzio/logzio-fluentd**: +- **1.5.0**: + - Upgrade fluentd to 1.16. + - Upgrade gem `fluent-plugin-logzio` to `0.2.2`: + - Do not retry on 400 and 401. For 400 - try to fix log and resend. + - Generate a metric (logzio_status_codes) for response codes from Logz.io. - v1.4.0: - Upgrade gem `fluent-plugin-logzio` to `0.1.0`: - Use fluentd's retry instead of retry in code (raise exception on non-2xx response). + + +
+ Expand to check old versions + - v1.3.1: - Added `fluent-plugin-prometheus`. - Added `logzio-daemonset-containerd-monitoring`, `logzio-daemonset-rbac-monitoring` and `configmap-monitoring.yaml` which exposes fluentd metrics on the pods port `24231`, `/metrics` endpoint @@ -225,10 +235,6 @@ These templates collects and exposes fluentd metrics on port `24231`, `/metrics` - Added plugin `fluent-plugin-dedot_filter`. - Updated image in daemonset templates, increased memory and cpu requirements. - Added configuration for dedot plugin in configmp template. - - -
- Expand to check old versions - v1.2.0: - Upgrade fluentd to 1.15. - Upgrade plugin `fluent-plugin-kubernetes_metadata_filter` to `3.1.2`([#80](https://github.com/logzio/logzio-k8s/pull/80)). diff --git a/logzio-daemonset-containerd-monitoring.yaml b/logzio-daemonset-containerd-monitoring.yaml index 3cadfc0..e7b385a 100644 --- a/logzio-daemonset-containerd-monitoring.yaml +++ b/logzio-daemonset-containerd-monitoring.yaml @@ -77,7 +77,7 @@ spec: mountPath: /fluentd/etc containers: - name: fluentd - image: logzio/logzio-fluentd:1.4.0 + image: logzio/logzio-fluentd:1.5.0 ports: - name: metrics containerPort: 24231 diff --git a/logzio-daemonset-containerd.yaml b/logzio-daemonset-containerd.yaml index 3c4a7db..e6289d6 100644 --- a/logzio-daemonset-containerd.yaml +++ b/logzio-daemonset-containerd.yaml @@ -73,7 +73,7 @@ spec: mountPath: /fluentd/etc containers: - name: fluentd - image: logzio/logzio-fluentd:1.4.0 + image: logzio/logzio-fluentd:1.5.0 env: - name: LOGZIO_LOG_SHIPPING_TOKEN valueFrom: diff --git a/logzio-daemonset-rbac-monitoring.yaml b/logzio-daemonset-rbac-monitoring.yaml index 117c80e..90877bb 100644 --- a/logzio-daemonset-rbac-monitoring.yaml +++ b/logzio-daemonset-rbac-monitoring.yaml @@ -77,7 +77,7 @@ spec: mountPath: /fluentd/etc containers: - name: fluentd - image: logzio/logzio-fluentd:1.4.0 + image: logzio/logzio-fluentd:1.5.0 ports: - name: metrics containerPort: 24231 diff --git a/logzio-daemonset-rbac.yaml b/logzio-daemonset-rbac.yaml index ffe511a..2eea262 100755 --- a/logzio-daemonset-rbac.yaml +++ b/logzio-daemonset-rbac.yaml @@ -73,7 +73,7 @@ spec: mountPath: /fluentd/etc containers: - name: fluentd - image: logzio/logzio-fluentd:1.4.0 + image: logzio/logzio-fluentd:1.5.0 env: - name: LOGZIO_LOG_SHIPPING_TOKEN valueFrom: diff --git a/logzio-daemonset.yaml b/logzio-daemonset.yaml index a62c99c..7561fc8 100755 --- a/logzio-daemonset.yaml +++ b/logzio-daemonset.yaml @@ -34,7 +34,7 @@ spec: mountPath: /fluentd/etc containers: - name: fluentd - image: logzio/logzio-fluentd:1.4.0 + image: logzio/logzio-fluentd:1.5.0 env: - name: LOGZIO_LOG_SHIPPING_TOKEN valueFrom: