Skip to content

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

@pepov pepov requested review from OverOrion and tarokkk 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
@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.

3 participants