You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have the option to split the config into multiple files - as in multiple files in a directory. Currently I have a dynamic setup on EKS where I have multiple probes defined and changes to one requires me to regenerate the config file. Related to this, it would be useful to even be able to reload the config without the need to restart the pod for which I'll file a separate ticket.
Live reload has come up a few times before. I've been reluctant of adding it because clearing a probe's (and other) state cleanly on its removal was not very well implemented. We've certainly improved in that area quite a bit and can look at it again.
changed the title [-]Split config into multiple files and reread config without restarting pod[/-][+]Split config into multiple files [/+]on Dec 14, 2023
Activity
manugarg commentedon Sep 27, 2023
Live reload has come up a few times before. I've been reluctant of adding it because clearing a probe's (and other) state cleanly on its removal was not very well implemented. We've certainly improved in that area quite a bit and can look at it again.
manugarg commentedon Dec 13, 2023
FYI,
I am working on adding the include file support here: #643
You'll be able to create a top level file that includes other files. Example:
-- cloudprober.cfg --
include "cloudprober.d/team1.cfg"
include "cloudprober.d/team2.cfg"
include "cloudprober.d/team3.cfg"
@syd20 can you please change this ticket to just be multiple files, and file a separate one for reload config?
[-]Split config into multiple files and reread config without restarting pod[/-][+]Split config into multiple files [/+]syd20 commentedon Dec 14, 2023
Changed the scope of ticket to create multiple config files
manugarg commentedon Dec 17, 2023
I've added multiple config files support to cloudprober helm-charts as well:
cloudprober/helm-charts#28
Closing it now. I'll cut a new release next week.