-
Notifications
You must be signed in to change notification settings - Fork 0
Fluentbit support #257
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
Fluentbit support #257
Conversation
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.
Pull Request Overview
This PR adds Fluentbit support for telemetry processing by introducing new kustomize components and configuration resources for systemd, kubernetes, containerd, and fluentd deployments.
- Adds kustomize components and associated YAML files for different Fluentbit configurations.
- Integrates Lua filters and custom metrics configuration for log processing.
- Sets up helm and git repository resources to deploy the fluent-operator.
Reviewed Changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| kustomize/telemetry/resources/fluentbit/systemd/kustomization.yaml | Adds systemd component with configuration references. |
| kustomize/telemetry/resources/fluentbit/systemd/fluentbit-clusterfilter.yaml | Introduces a ClusterFilter using a Lua filter for systemd logs. |
| kustomize/telemetry/resources/fluentbit/systemd/configmap.yaml | Provides a Lua script for timestamp formatting and log restructuring. |
| kustomize/telemetry/resources/fluentbit/kustomization.yaml | Registers the fluentbit deployment resource. |
| kustomize/telemetry/resources/fluentbit/kubernetes/kustomization.yaml | Adds kubernetes-level cluster input and filter components. |
| kustomize/telemetry/resources/fluentbit/kubernetes/fluentbit-clusterinput.yaml | Defines a ClusterInput for retrieving container logs. |
| kustomize/telemetry/resources/fluentbit/kubernetes/fluentbit-clusterfilter.yaml | Configures multiple filters for kubernetes logs including nesting and modifications. |
| kustomize/telemetry/resources/fluentbit/fluentd/kustomization.yaml | Registers the fluentd component configuration. |
| kustomize/telemetry/resources/fluentbit/fluentd/clusteroutput.yaml | Creates a ClusterOutput to forward logs to a fluentd endpoint. |
| kustomize/telemetry/resources/fluentbit/fluentbit.yaml | Sets up the FluentBit deployment and its corresponding cluster configuration. |
| kustomize/telemetry/resources/fluentbit/containerd/* | Provides containerd-specific components, including ClusterInput, ClusterFilter, and a ConfigMap with a Lua script. |
| kustomize/telemetry/base/fluentbit/* | Adds base kustomization, helm repository, helm release, and git repository resources for deploying the fluent operator. |
Comments suppressed due to low confidence (1)
kustomize/telemetry/base/fluentbit/helm-release.yaml:22
- [nitpick] The key 'Kubernetes' is capitalized, which is inconsistent with typical YAML naming conventions; consider renaming it to 'kubernetes' for consistency.
Kubernetes: false
| key: containerd.lua | ||
| name: fluent-bit-containerd-config | ||
| timeAsTable: true | ||
| match: kube.* |
Copilot
AI
Mar 29, 2025
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.
The 'match' value 'kube.' does not correspond to the input tag 'service.' defined in the corresponding ClusterInput, which may result in log filtering mismatches. Consider updating the match value to 'service.*' to ensure consistency.
| match: kube.* | |
| match: service.* |
cffa994 to
3f24a5d
Compare
297a9cd to
9b7fcf8
Compare
Add fluentbit support