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

Reread config file after startup #313

Open
gothub opened this issue Apr 4, 2022 · 0 comments
Open

Reread config file after startup #313

gothub opened this issue Apr 4, 2022 · 0 comments
Assignees

Comments

@gothub
Copy link
Contributor

gothub commented Apr 4, 2022

metadig-engine apps read the configuration file metadig.properties at app startup. If the configuration file is changed after the app starts, it is not re-read.

Update all apps (metadig-controller, metadig-worker, metadig-scorer, metadig-scheduler) to reread the config file if it is updated after startup. One approach to achieve this is described here. This approach works in a k8s environment, where the config file is mounted as a volume, as shown in the metadig-controller deployment.

@gothub gothub self-assigned this Apr 4, 2022
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

No branches or pull requests

1 participant