Hot Reload
Enable hot reload through SIGHUP signal or an HTTP endpoint
Calyptia Core Agent supports the hot reloading feature when enabled via the command line with -Y
or --enable-hot-reload
option.
Getting Started
To get started with reloading via HTTP, the first step is to enable the HTTP Server from the configuration file:
The above configuration snippet will enable the HTTP endpoint for hot reloading.
How to reload
Using HTTP
Hot reloading can be kicked by using HTTP endpoints that are:
PUT /api/v2/reload
POST /api/v2/reload
If users don't enable the hot reloading feature, hot reloading via these endpoints will not work.
For using curl to reload calyptia-fluent-bit, users must specify an empty request body as:
Using Signal
Hot reloading also can be kicked via SIGHUP
.
SIGHUP
signal is not supported on Windows. So, users can't enable this feature on Windows.
Limitations
The hot reloading feature works with Linux and macOS. Windows is not supported.
Last updated