logging-operator icon indicating copy to clipboard operation
logging-operator copied to clipboard

Reload config involves a loss of logs

Open sebastiendejou opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe.

When an update of the fluentd's configuration happens from another namespace, the fluentd worker process is restarted. (this way : http://127.0.0.1:24444/api/config.reload) and the problem happens : Logs are lost during reload for the first namespace. Does logging-operator respect the multitenancy agreement ?

Describe alternatives you've considered No one.

Describe alternatives you've considered In a previous issue, "/api/config.gracefulReload" (https://github.com/banzaicloud/logging-operator/pull/454) has been suggested. This issue has been merged, but reverted after that. Is there a mechanism that could gracefully reload the fluentd ?

Regards

sebastiendejou avatar Jul 20 '21 14:07 sebastiendejou

It was reverted because it did not handle plugin params as expected. Things might have changed with latest fluentd versions though. I would consider making this configurable and let users experiment with it until we can get back to this and retest it thoroughly.

pepov avatar Jul 26 '21 14:07 pepov

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Apr 12 '23 10:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Jun 13 '23 21:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Oct 07 '23 14:10 stale[bot]