forked from kube-logging/logging-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Wilcsinszky <[email protected]>
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 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
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/) |