-
Notifications
You must be signed in to change notification settings - Fork 93
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
Pre-defined Nebari Configuration Sets #2865
Comments
YAML defined config setsI still feel very uncertain about the idea of stacking config sets. I feel like it is potentially adding layers of complication dealing with prioritizing and resolving conflicts. I am also not convinced that it is needed. My suggestion is to start using a single config set and then see if there is a need for multiple config sets. I think there is clear value in config sets, but the value is far less clear for adding the complexity of stackable config sets. If everyone else is convinced that we need stackable config sets from the start, then we need to be very clear about prioritization. In that case, it also make sense to not template at all, but rather add a If we did that, we could still use your suggested cli implementation
would render something like imports:
- lower-priority-config-set.yaml
- higher-priority-config-set.yaml within the This brings up a couple of questions:
|
Nebari Plugin defined config setsI don't feel like they are config sets anymore if we are using plugins (which presumably add either infrastructure or k8s services). I would suggest that this get a different name so we aren't overloading However, maybe we should consider having a yaml config field called |
I agree that most of the benefit comes from a single config set, and stacking brings some added complexity that may not really be needed and I don't mind not implementing stacking initially. I think we should choose a design that doesn't preclude us from potentially stacking them in the future though.
I view the CLI options around config sets as a way to interact with the nebari-config.yaml only at the time the command is run. E.g. you run
|
"Pre-defined Nebari Configuration Sets" or "Config Sets" for short.
The "why" of this issue is addressed in the discussion.
This issue deals with the "how" or the implementation details.
YAML defined config sets
User Stories
Creating a new nebari config with a config set
nebari init -s=lower-priority-config-set.yaml,higher-priority-config-set.yaml
User applying a config set to an existing distribution
nebari apply -c nebari-config.yaml -s=nebari-config.yaml,another-config-set.yaml -o new-nebari-config.yaml
Nebari Plugin defined config sets
User Stories
Creating a new nebari config with an config set
nebari init ...
nebari init -s my-nebari-config-set-plugin,other-plugin.yaml
-s
argumentMore User Stories (independent of yaml or plugin defined)
Creating a new nebari config using guided-init
Config Set Paths
A ConfigSet can be a file or a directory with folders named after cloud providers underneath (e.g. gcp, azure, aws).
Config Set Yaml Format
The text was updated successfully, but these errors were encountered: