Configuration
Cedana configuration lives in /etc/cedana/config.json. You can initialize this file with default values by using the --init-config flag (e.g. sudo cedana daemon start --init-config). Any configuration in environment variables will override the default values when this file is initialized. You may also merge currently set environment variables into an existing configuration file with the --merge-config flag (e.g. sudo cedana daemon start --merge-config).
Environment variables
You may also override the configuration file using environment variables. The environment variables are prefixed with CEDANA_ and are in uppercase. For example, Checkpoint.Dir can be set with CEDANA_CHECKPOINT_DIR. Similarly, Connection.URL can be set with CEDANA_CONNECTION_URL, or its alias CEDANA_URL.
Each of the below fields can also be set through an environment variable with the same name, prefixed, and in uppercase. E.g. Checkpoint.Dir can be set with CEDANA_CHECKPOINT_DIR. The env_aliases tag below specifies alternative (alias) environment variable names (comma-separated).
Config
CRIU
Checkpoint
Client
Connection
DB
GPU
Plugins
Profiling
AWS
SLURM
Last updated
Was this helpful?