mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
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
This commit is contained in:
commit
f1b58f4e5f
@ -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:
|
|||||||
</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:
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user