Support restart of multiple services based on partial configmap ?
hajdukda opened this issue · comments
Hello,
Let's say we have multiple deployments referencing parts of a shared configmap (overlap only partially) via env:configMapRef.
Is there an option to configure reloader to only reload services referencing keys in map that were updated ?
Also is it possible to have a gradual restart policy spread over multiple deployments to not restart everyone of them at the same time?
i.e. After deploy1 is finished rotate deploy2, after deploy2 rotate deploy3 etc ?
hi @hajdukda
-
if a configmap changes, it will reload all the deployments watched by reloader in which that configmap is mentioned. We dont have the mechanism of targeting specific variables inside configmap.
-
As of now, gradual restart policy isnt implemented in reloader.
However, we welcome PRs for both of these issues if someone would like to contribute.