Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to graceful reload endpoint and error #189

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

slimm609
Copy link
Contributor

Move to gracefulReload endpoint to align with upstream docs after 1.9
Change failure to an error instead of info

Signed-off-by: Brian Davis slimm609@gmail.com

@viveksyngh
Copy link
Member

should we also add documentation link with the MR or commit ?

Move to gracefulReload endpoint to align with upstream docs after 1.9
Change failure to an error instead of info

"If you use fluentd v1.9.0 or later, use SIGUSR2 instead of SIGHUP"
"/api/config.gracefulReload SIGUSR2  Reloads configuration."
ref: https://docs.fluentd.org/deployment/signals#sigusr2

Signed-off-by: Brian Davis <slimm609@gmail.com>
Copy link
Contributor

@Cryptophobia Cryptophobia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! very nice find @slimm609 ! "graceful" is always better

@Cryptophobia Cryptophobia merged commit ec3009e into vmware:master Mar 31, 2021
Cryptophobia pushed a commit to Cryptophobia/kube-fluentd-operator that referenced this pull request Oct 19, 2021
 - reverting vmware#189
 - there are too many old plugins which do not support gracefulReload yet

Signed-off-by: Anton Ouzounov <aouzounov@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants