Closed Ghazgkull closed 4 years ago
Note that the suppress_type_name
flag was only recently added to fluent-plugin-elasticsearch and the fluentd-es-image Gemfile will need to be updated to a newer version in order for this Helm chart to get the support. I'll PR a change to that file momentarily (https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/fluentd-elasticsearch/fluentd-es-image/Gemfile).
@monotek Once the two PRs I have open against the fluent-es-image are merged, I'll volunteer to submit a PR here to expose the suppress_type_name
flag in this chart as elasticsearch.suppress_type_name
.
Many thanks. PR welcome :)
PR submitted. We'll have to wait until the k8s PR is merged and the new fluentd-elasticsearch image (v3.0.4) is available before the change to the chart can be merged.
Is this a request for help?: No.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes:
Which chart in which version: 3.0.2
What happened: When this helm chart is configured to point at Elasticsearch 7.3.2, the fluentd pods prints out the following message approximately once per second:
What you expected to happen: The pod should not continuously print out this warning.
How to reproduce it (as minimally and precisely as possible): Deploy this helm chart pointing at an ES 7.3.2 domain.
Anything else we need to know: The Elasticsearch plugin this chart uses is aware of this issue and has a flag which is supposed to stop the warnings: https://github.com/uken/fluent-plugin-elasticsearch#suppress_type_name
This flag should probably be added to this chart as a recommended option for people running against ES 7.x.