Skip to content

Commit

Permalink
chore: docs for fluentbit reload
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Wilcsinszky <[email protected]>
  • Loading branch information
pepov committed Jan 24, 2024
1 parent 596a801 commit dda3cf0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/fluentbit-config-reload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## Fluent Bit config reload

It is now possible to configure Fluent Bit to reload its configuration on the fly.

This behaviour is disabled by default, but can be enabled with a single configuration option under
the Logging's `spec.fluentbit.configHotReload` (legacy method) or the new FluentbitAgent's `spec.configHotReload`:

```
apiVersion: logging.banzaicloud.io/v1beta1
kind: FluentbitAgent
metadata:
name: reload-example
spec:
configHotReload: {}
```

Currently `resources` and `image` is configurable:
```
apiVersion: logging.banzaicloud.io/v1beta1
kind: FluentbitAgent
metadata:
name: reload-example
spec:
configHotReload:
resources: ...
image:
repository: ghcr.io/kube-logging/config-reloader
tag: v0.0.5
```

For all the available configuration options please check the [API docs](https://kube-logging.dev/docs/configuration/crds/v1beta1/fluentbit_types/)

0 comments on commit dda3cf0

Please sign in to comment.