- Linux:
~/.config/zenml
- Mac:
~/Library/Application Support/ZenML
- Windows:
C:\Users\%USERNAME%\AppData\Local\ZenML
ZENML_CONFIG_PATH
environment variable to a custom value. The current location of the Global Config Directory used on a system can be retrieved by running the following command:
Manually altering or deleting the files and folders stored under the ZenML Global Config Directory is not recommended, as this can break the internal consistency of the ZenML configuration. As an alternative, ZenML provides CLI commands that can be used to manage the information stored there:
zenml analytics
- manage the analytics settingszenml config
- manage the global configurationzenml clean
- to be used only in case of emergency, to bring the ZenML configuration back to its default factory state
-
The
global.yaml
file stores the global configuration settings: the unique ZenML user ID, the active database configuration, the analytics related options the active Stack and active Project. This is an example of theglobal.yaml
file contents immediately after initialization: -
The
local_stores
directory is where some “local” flavors of Stack Components, such as thelocal
Artifact Store, or thelocal
Secrets Manager persist data locally. Every local Stack Component will have its own subdirectory here named after the Stack Component’s unique UUID. One notable example is thelocal
Artifact Store flavor that, when part of the active Stack, stores all the artifacts generated by Pipeline runs in the designated local directory. -
The
zenml.db
file is the default SQLite database where ZenML stores all information about the Stacks, Stack Components, custom Stack Component flavors etc.
zenml_examples
- used as a local cache by thezenml example
command, where the pulled ZenML examples are stored.kubeflow
- this is where the Kubeflow orchestrators that are part of a Stack store some of their configuration and logs.
Accessing the global configuration in Python
You can access the global ZenML configuration from within Python using thezenml.config.global_config.GlobalConfiguration
class:
GlobalConfiguration
, please consult the API docs sections on GlobalConfiguration.