-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Retrieve Kubernetes pod IP address if it is set in status.podIP #2783
Conversation
Signed-off-by: Kris Gambirazzi <[email protected]>
93fcf8b
to
573c19b
Compare
Signed-off-by: Kris Gambirazzi <[email protected]>
@edsiper @fujimotos @koleini any chance of getting a review on this? |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
@edsiper @fujimotos @koleini any chance of getting a review on this? |
@kgtw thanks for such useful improvement, I hope it will be reviewed and merged. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Can we get some response about this PR? It's something really needed for fluent-bit users. Promtrail already supports it and it's a shame if we're forced to migrate "just cause" we can't have a pod IP. |
@kgtw thanks for such useful improvement, I hope it will be reviewed and merged. |
@edsiper how about this PR? |
Hello. Any news on this PR? |
@edsiper @fujimotos @koleini Any chance that this PR gets merged? It is funny that in the documentation it is stated
but the pod IP is missing in the Kubernetes filter for Fluent Bit. Depending on the use case the pod IP is an important piece of metadata. Thanks. |
Can you rebase to force the various checks to run? I'm guessing it was Github issues at the time. |
@kgtw FYI. |
@patrick-stephens I guess someone from the reviewers' list needs to approve the PR first before the various checks can run. At least that is what I read from the Action itself. -> https://github.com/fluent/fluent-bit/actions/runs/2568072268 |
@dan-leanix yeah it's to help with security and prevent spurious PRs causing issues as they will run on the Fluent resources. Plus quite often an initial review will highlight some issues that need resolving immediately anyway so not worth running until those are done. |
Thanks, @patrick-stephens for the explanation. It makes total sense. @kgtw Seems to be that the issue with the tests is that the expected record does not match the actual record. Hence, the expected record is missing the pod_ip.
|
Hi @kgtw, would it be possible to finish this PR? Thanks for the effort |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
@edsiper I know this PR is quite old, but would this be something you'd be up to adding to fluent-bit? It would help a lot with migrating from fluentd. |
Is there any path forward with this pull request? We're also migrating from fluentd, and this field is missing in fluent bit. |
Waiting for this PR. We are migrating to fluent-bit |
Hi to all who've commented 👋 If there is anybody who would like to take over, feel free to. I've since moved on to other engineering domains so am no longer active in this space. After this PR had no interest from the maintainers within the first two years of it being opened I gave up any hope of it ever being merged. I still believe the intent behind this PR holds merit that many would benefit from and hope that the maintainers see from the continued activity within this PR that people are still looking for a solution. |
The code looks ok to me, however the unit test seems not to consider a proper input file and just validate the output, I have my doubts. Unit test is pending. |
This PR exposes the Kubernetes pod IP address if it has been set.
Fixes: #2301
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
Documentation
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.