You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All quickstart parameters for each provider are built-in provider codes and users can't customize the parameters unless creating a default cluster template(but the templates are not supported for CLI). It's not friendly to update built-in parameters to support the best configuration practices for different cloud users.
Using a configuration file to save the built-in parameters instead of declaring them in codes. Users can edit or replace the configuration file to change the default parameters.
The startup parameters template is YAML type and the following is an example.
AutoK3s will use the built-in parameters and users can replace the default parameters by setting the environment
value for AUTOK3S_PROVIDER_TEMPLATES, e.g. AUTOK3S_PROVIDER_TEMPLATES=/myautok3s/templates.yaml.
There's no restriction for users to customize parameters for all kinds of providers. It's available to set parameter templates for only one provider which is used frequently.
After customizing the default parameters, it's available for users to create a cluster by the following CLI
AutoK3s CLI supports using CLI parameters and environment variables to pass in provider options. The priority order of parameter settings is: CLI parameters > environment variables > default startup parameters
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
All quickstart parameters for each provider are built-in provider codes and users can't customize the parameters unless creating a default cluster template(but the templates are not supported for CLI). It's not friendly to update built-in parameters to support the best configuration practices for different cloud users.
#268
Design
Using a configuration file to save the built-in parameters instead of declaring them in codes. Users can edit or replace the configuration file to change the default parameters.
The startup parameters template is YAML type and the following is an example.
AutoK3s will use the built-in parameters and users can replace the default parameters by setting the environment
value for
AUTOK3S_PROVIDER_TEMPLATES
, e.g.AUTOK3S_PROVIDER_TEMPLATES=/myautok3s/templates.yaml
.There's no restriction for users to customize parameters for all kinds of providers. It's available to set parameter templates for only one provider which is used frequently.
After customizing the default parameters, it's available for users to create a cluster by the following CLI
AutoK3s CLI supports using CLI parameters and environment variables to pass in provider options. The priority order of parameter settings is:
CLI parameters
>environment variables
>default startup parameters
Beta Was this translation helpful? Give feedback.
All reactions