-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cluster level add_kubernetes_metadata support for centralized enrichment #24621
Conversation
571d4d2
to
c50b272
Compare
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Pinging @elastic/integrations (Team:Integrations) |
/test |
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, thank you @vjsamuel !
@vjsamuel would you mind rebasing this one with the latest master please? |
/test |
c50b272
to
f5dfbd3
Compare
/test |
CI failure is irrelevant to the change (there is a known issue with windows workers), I will proceed and merge this. |
CHANGELOG.next.asciidoc
Outdated
@@ -590,6 +590,18 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d | |||
- Added "add_network_direction" processor for determining perimeter-based network direction. {pull}23076[23076] | |||
- Added new `rate_limit` processor for enforcing rate limits on event throughput. {pull}22883[22883] | |||
- Allow node/namespace metadata to be disabled on kubernetes metagen and ensure add_kubernetes_metadata honors host {pull}23012[23012] | |||
- Honor kube event resysncs to handle missed watch events {pull}22668[22668] |
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.
ah @vjsamuel it seems that the rebase messed up changelog, could you please give it some care?
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request does not have a backport label. Could you fix it @vjsamuel? 🙏
NOTE: |
f5dfbd3
to
3c258df
Compare
3c258df
to
1b6225c
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
Enhancement
What does this PR do?
Given that we now have ability to do autodiscover at cluster scope. We should also be able to do metadata enrichment at cluster scope. This PR adds support for the same.
Why is it important?
Feature parity
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Add
scope: cluster
to an existing add_kubernetes_metadata config and it should sync all pods from the entire cluster.Related issues
Use cases