Skip to content

Commit d34a64d

Browse files
Added hot_reload to service section yaml configuration with example. (#1592)
* Added hot_reload to service section yaml configuration with example. Signed-off-by: Eric D. Schabell <eric@schabell.org> * Added link to hot_reload doc page. Signed-off-by: Eric D. Schabell <eric@schabell.org> * Update administration/configuring-fluent-bit/yaml/service-section.md Signed-off-by: Pat <patrick.j.k.stephens@gmail.com> --------- Signed-off-by: Eric D. Schabell <eric@schabell.org> Signed-off-by: Pat <patrick.j.k.stephens@gmail.com> Co-authored-by: Pat <patrick.j.k.stephens@gmail.com>
1 parent 7b5e5f6 commit d34a64d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

administration/configuring-fluent-bit/yaml/service-section.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The `service` section defines global properties of the service. The available co
1616
| `http_server` | Enables the built-in HTTP Server. | `off` |
1717
| `http_listen` | Sets the listening interface for the HTTP Server when it's enabled. | `0.0.0.0` |
1818
| `http_port` | Sets the TCP port for the HTTP Server. | `2020` |
19+
| `hot_reload` | Enables hot [reloading](../../hot_reload.md) of configuration with SIGHUP. | `on` |
1920
| `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` |
2021
| `scheduler.cap` | Sets a maximum retry time in seconds. Supported in v1.8.7 and greater. | `2000` |
2122
| `scheduler.base` | Sets the base of exponential backoff. Supported in v1.8.7 and greater. | `5` |
@@ -24,7 +25,7 @@ The `service` section defines global properties of the service. The available co
2425

2526
### Configuration Example
2627

27-
Below is a simple configuration example that defines a `service` section and a pipeline with a `random` input and `stdout` output:
28+
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:
2829

2930
```yaml
3031
service:
@@ -33,6 +34,7 @@ service:
3334
http_server: true
3435
http_listen: 0.0.0.0
3536
http_port: 2020
37+
hot_reload: on
3638

3739
pipeline:
3840
inputs:

0 commit comments

Comments
 (0)