-
Notifications
You must be signed in to change notification settings - Fork 12
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
add configuration file #111
Comments
As v0.16.0, the situation is now rully untenable and is high time we solve this issue.
The way RTE is used is by far and large as daemon, rarely interactively. Thus, a config file (hier) is the best way to have config from both consumer and producer side. Flags or environs shoudl rarely be used, if at all. All in all, moving forward we should ADD a config source in parallel, brand new, to fill The new config source MUST allow to set all the values currently enabled by flags, and new options should only be added from the config file. Note the separate kubelet source is a feature, so it should be kept alongside the new config source. Merging it seems a step back. |
It could look like this:
I don't think we should necessarily stick with yaml. The extra config should for backward compatibility, but the main config can be also json or (perhaps better) toml |
we have too many command line switches already.
We should add a configuration file to consolidate them and to unclutter the command line.
If practical, we should keep all the flags we have to easily override the config value settings;
alternatively, we can get rid of them and add drop-in support for configuration
The text was updated successfully, but these errors were encountered: