Skip to content
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

feat: kubernetes namespace labels and annotations with fluent-bit 3.0 #1696

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

pepov
Copy link
Member

@pepov pepov commented Mar 14, 2024

This PR adds new fields for the new fluent-bit kubernetes filter options to allow for enriching logs with kubernetes namespace labels and annotations right at the source

apiVersion: logging.banzaicloud.io/v1beta1
kind: FluentbitAgent
metadata:
  name: namespace-label-test
spec:
  filterKubernetes:
    namespace_annotations: "On"
    namespace_labels: "On"
  image:
    repository: ghcr.io/fluent/fluent-bit/unstable
    tag: latest
image

Signed-off-by: Peter Wilcsinszky <peter.wilcsinszky@axoflow.com>
@pepov pepov requested review from tarokkk and OverOrion March 14, 2024 11:39
Copy link
Contributor

@OverOrion OverOrion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! 🚀

@pepov pepov merged commit c3cc428 into release-4.6 Mar 14, 2024
19 checks passed
@pepov pepov deleted the fluentbit-namespace-labels branch March 14, 2024 11:44
@pepov pepov added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants