-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I'd like @ChrsMark to also review it, as his team is the stakeholder of the Helm chart reference
- '*' | ||
- type: container | ||
paths: | ||
- /var/log/containers/*.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be sure, is this path actually where hosts' var/log
is mounted? This is what I expect to see https://github.com/elastic/beats/blob/1a029e547fb1018668e7ab961bcbbe496696ff25/deploy/kubernetes/filebeat-kubernetes.yaml#L110.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the notice, fixed by 72f704e
[filebeat] mount /var/log inside filebeat pods This is required to use container input withg CRI paths.
jenkins test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
jenkins test this please |
1 similar comment
jenkins test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filebeat/examples/6.x/values.yaml
Outdated
in_cluster: true | ||
output.elasticsearch: | ||
host: '${NODE_NAME}' | ||
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a new line please
container input doesn't exist on 6.8 and in_cluster is still documented
81ffe66
to
d5c048b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
in_cluster
config from `add_kubernetes_metadatacontainer
input instead ofdocker
inputadd_kubernetes_metadata
Fixes #558
README.md updated with any new values or changesUpdated template tests in${CHART}/tests/*.py
${CHART}/examples/*/test/goss.yaml