-
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
Autodiscover ephemeral containers in kubernetes #22389
Autodiscover ephemeral containers in kubernetes #22389
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
2171279
to
fabecb0
Compare
Pinging @elastic/integrations-platforms (Team:Platforms) |
fabecb0
to
4602132
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.
jenkins run the tests |
+1 for handling ephemerals without adding an extra option. I would also suggest adding a test for this similar to
|
edbf50c
to
f85531e
Compare
test added |
f85531e
to
b6fdec0
Compare
b6fdec0
to
379bba4
Compare
jenkins run the tests 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.
Looks good, waiting for green.
💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
(cherry picked from commit 5a4d407)
Enhancement: Autodiscover ephemeral containers in kubernetes when "scrape_ephemeral_containers" flag is set to True
What does this PR do?
Adds autodiscovery of kubernetes ephemeral containers. It is disabled by default and needs to set "scrape_ephemeral_containers" flag to "True"
Why is it important?
I'm using filebeat to scrape logs of pods in my organizations kubernetes clusters, and there is currently no support for collecting logs for ephemeral containers.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Add config flag "scrape_ephemeral_containers: True"Related issues
Use cases
Add support for autodiscovery of ephemeral containers in kubernetes cluster
Screenshots
Logs