From dda3cf069a1591ba14915ea04a5ef956164b1293 Mon Sep 17 00:00:00 2001 From: Peter Wilcsinszky Date: Wed, 24 Jan 2024 15:54:37 +0100 Subject: [PATCH] chore: docs for fluentbit reload Signed-off-by: Peter Wilcsinszky --- docs/fluentbit-config-reload.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/fluentbit-config-reload.md diff --git a/docs/fluentbit-config-reload.md b/docs/fluentbit-config-reload.md new file mode 100644 index 000000000..34f5681c7 --- /dev/null +++ b/docs/fluentbit-config-reload.md @@ -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/)