Basics
Config File
Declare flags in a config file and use it run tensorkube deploy
Apps can be deployed using tensorkube deploy
. This command provides many options to deploy your app.
Sometimes you may want to use the same set of options for multiple deployments or you may want to keep the options in a file for future reference.
In such cases, you can use a config file to declare the flags and use it to run tensorkube deploy
.
you can use the --config-file
flag to specify the path to the config file.
The config file should be a YAML file with the following structure. All keys below are optional. If not provided, the default values will be used.
You can also use cli flags along with the config file. The options in config.yaml take more precedence than cli flags.