From 177128c6405d4fe13393bdcf11d22c46fe96c650 Mon Sep 17 00:00:00 2001 From: "Eric D. Schabell" Date: Mon, 24 Mar 2025 13:21:39 +0100 Subject: [PATCH 1/3] Added hot_reload to service section yaml configuration with example. Signed-off-by: Eric D. Schabell --- administration/configuring-fluent-bit/yaml/service-section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/administration/configuring-fluent-bit/yaml/service-section.md b/administration/configuring-fluent-bit/yaml/service-section.md index b3aca6665..333e625dc 100644 --- a/administration/configuring-fluent-bit/yaml/service-section.md +++ b/administration/configuring-fluent-bit/yaml/service-section.md @@ -16,6 +16,7 @@ The `service` section defines global properties of the service. The available co | `http_server` | Enables the built-in HTTP Server. | `off` | | `http_listen` | Sets the listening interface for the HTTP Server when it's enabled. | `0.0.0.0` | | `http_port` | Sets the TCP port for the HTTP Server. | `2020` | +| `hot_reload` | Enables hot reloading of configuration with SIGHUP. | `on` | | `coro_stack_size` | Sets the coroutine stack size in bytes. The value must be greater than the page size of the running system. Setting the value too small (`4096`) can cause coroutine threads to overrun the stack buffer. The default value of this parameter should not be changed. | `24576` | | `scheduler.cap` | Sets a maximum retry time in seconds. Supported in v1.8.7 and greater. | `2000` | | `scheduler.base` | Sets the base of exponential backoff. Supported in v1.8.7 and greater. | `5` | @@ -33,6 +34,7 @@ service: http_server: true http_listen: 0.0.0.0 http_port: 2020 + hot_reload: on pipeline: inputs: From a05889ca6bdd75f89fe9f6ac3fcfbce3d59f12b8 Mon Sep 17 00:00:00 2001 From: "Eric D. Schabell" Date: Mon, 24 Mar 2025 13:24:33 +0100 Subject: [PATCH 2/3] Added link to hot_reload doc page. Signed-off-by: Eric D. Schabell --- administration/configuring-fluent-bit/yaml/service-section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration/configuring-fluent-bit/yaml/service-section.md b/administration/configuring-fluent-bit/yaml/service-section.md index 333e625dc..fa01787ca 100644 --- a/administration/configuring-fluent-bit/yaml/service-section.md +++ b/administration/configuring-fluent-bit/yaml/service-section.md @@ -25,7 +25,7 @@ The `service` section defines global properties of the service. The available co ### Configuration Example -Below is a simple configuration example that defines a `service` section and a pipeline with a `random` input and `stdout` output: +Below is a simple configuration example that defines a `service` section with [hot reloading](../../hot_reload.md) enabled and a pipeline with a `random` input and `stdout` output: ```yaml service: From 43c79842e65be345c001e5d6d380c6c44a42027d Mon Sep 17 00:00:00 2001 From: Pat Date: Mon, 24 Mar 2025 15:18:56 +0200 Subject: [PATCH 3/3] Update administration/configuring-fluent-bit/yaml/service-section.md Signed-off-by: Pat --- administration/configuring-fluent-bit/yaml/service-section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/administration/configuring-fluent-bit/yaml/service-section.md b/administration/configuring-fluent-bit/yaml/service-section.md index fa01787ca..2dce19329 100644 --- a/administration/configuring-fluent-bit/yaml/service-section.md +++ b/administration/configuring-fluent-bit/yaml/service-section.md @@ -16,7 +16,7 @@ The `service` section defines global properties of the service. The available co | `http_server` | Enables the built-in HTTP Server. | `off` | | `http_listen` | Sets the listening interface for the HTTP Server when it's enabled. | `0.0.0.0` | | `http_port` | Sets the TCP port for the HTTP Server. | `2020` | -| `hot_reload` | Enables hot reloading of configuration with SIGHUP. | `on` | +| `hot_reload` | Enables hot [reloading](../../hot_reload.md) of configuration with SIGHUP. | `on` | | `coro_stack_size` | Sets the coroutine stack size in bytes. The value must be greater than the page size of the running system. Setting the value too small (`4096`) can cause coroutine threads to overrun the stack buffer. The default value of this parameter should not be changed. | `24576` | | `scheduler.cap` | Sets a maximum retry time in seconds. Supported in v1.8.7 and greater. | `2000` | | `scheduler.base` | Sets the base of exponential backoff. Supported in v1.8.7 and greater. | `5` |