Commit f1b58f4e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #48139 from crassirostris/fix-fluentd-config

Automatic merge from submit-queue (batch tested with PRs 48139, 48042, 47645, 48054, 48003) Fix fluentd-gcp configuration to facilitate JSON parsing There's a bug in https://github.com/kubernetes/kubernetes/pull/45734, because of which each records gets additional field and google-cloud plugin thinks it's not JSON (https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/blob/master/lib/fluent/plugin/out_google_cloud.rb#L569) Fixes https://github.com/kubernetes/kubernetes/issues/48108 /cc @piosz @fgrzadkowski
parents 9120d58f b6a0e442
...@@ -314,7 +314,7 @@ data: ...@@ -314,7 +314,7 @@ data:
# This filter is used to convert process start timestamp to integer # This filter is used to convert process start timestamp to integer
# value for correct ingestion in the prometheus output plugin. # value for correct ingestion in the prometheus output plugin.
<filter> <filter process_start>
@type record_transformer @type record_transformer
enable_ruby true enable_ruby true
auto_typecast true auto_typecast true
...@@ -415,7 +415,7 @@ data: ...@@ -415,7 +415,7 @@ data:
</store> </store>
</match> </match>
metadata: metadata:
name: fluentd-gcp-config-v1.0 name: fluentd-gcp-config-v1.1
namespace: kube-system namespace: kube-system
labels: labels:
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
...@@ -120,7 +120,7 @@ spec: ...@@ -120,7 +120,7 @@ spec:
path: /usr/lib64 path: /usr/lib64
- name: config-volume - name: config-volume
configMap: configMap:
name: fluentd-gcp-config-v1.0 name: fluentd-gcp-config-v1.1
- name: ssl-certs - name: ssl-certs
hostPath: hostPath:
path: /etc/ssl/certs path: /etc/ssl/certs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment