-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update fluent-bit config (#108)
This commit modifies the fluent-bit configuration to include an additional port (8888) for receiving CloudEvents from Tekton Pipelines. This allows fluent-bit to capture both Kubernetes events and CloudEvents, providing a more comprehensive logging solution. The configuration also includes the necessary inputs and outputs for forwarding the logs to an OpenSearch cluster with specific formatting and TLS settings. Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
- Loading branch information
Showing
3 changed files
with
216 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{{ template "chart.header" . }} | ||
{{ template "chart.deprecationWarning" . }} | ||
|
||
{{ template "chart.badgesSection" . }} | ||
|
||
{{ template "chart.description" . }} | ||
|
||
{{ template "chart.homepageLine" . }} | ||
|
||
## Fluentbit Events | ||
|
||
This chart integrates Fluent Bit as a log processor and forwarder, specifically configured to capture Kubernetes and CloudEvents from Tekton. | ||
It relies on the KubeRocketCI's OpenSearch chart for log storage and analysis, providing a cohesive logging solution. | ||
|
||
+--------+ +-------------+ +------------+ +-----------+ | ||
| Tekton +------>+ CloudEvents +------>+ Fluent Bit +------>+ OpenSearch| | ||
+--------+ +-------------+ +------------+ +-----------+ | ||
| | ||
| | ||
+----+----+ | ||
| k8s | | ||
| Events | | ||
+---------+ | ||
|
||
### Key Features and Configurations: | ||
|
||
- **Deployment Mode**: Fluent Bit is deployed as a single instance to efficiently gather events across the cluster. | ||
- **CloudEvents Support**: Custom port configuration (8888) to receive CloudEvents from Tekton Pipelines. | ||
- **RBAC and Access**: Automatically creates RBAC resources with access to Kubernetes events. | ||
- **Elasticsearch Integration**: Environment variables are configured to use credentials from a secret for Elasticsearch access. | ||
- **Monitoring**: A ServiceMonitor is configured for Prometheus scraping, with detailed metric and relabeling configurations. | ||
|
||
### Inputs and Outputs: | ||
|
||
- **Inputs**: Captures Kubernetes events and HTTP CloudEvents. | ||
- **Outputs**: Configured to forward logs to an OpenSearch cluster with specific formatting and TLS settings. | ||
|
||
For further customization and to tailor the Fluent Bit configuration to your needs, please review the `values.yaml` file. | ||
|
||
{{ template "chart.maintainersSection" . }} | ||
|
||
{{ template "chart.sourcesSection" . }} | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
{{ template "chart.valuesSection" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters