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

Support restart of multiple services based on partial configmap ? #507

Open
hajdukda opened this issue Aug 8, 2023 · 1 comment
Open
Labels
kind/enhancement New feature or request kind/question Further information is requested

Comments

@hajdukda
Copy link

hajdukda commented Aug 8, 2023

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 ?

@bnallapeta bnallapeta added kind/enhancement New feature or request kind/question Further information is requested labels Aug 9, 2023
@MuneebAijaz
Copy link
Contributor

hi @hajdukda

  1. 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.

  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants