ZENML_CONFIG_PATHenvironment 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:
global.yamlfile stores the global configuration settings: the unique ZenML user ID, the active Profile, the analytics related options and a list of all configured Profiles, along with their configuration attributes, such as the active Stack set for each Profile. This is an example of the
global.yamlfile contents immediately after initialization:
local_storesdirectory is where some "local" flavors of Stack Components, such as the
localArtifact Store, the
sqliteMetadata Store or the
localSecrets 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 the
localArtifact Store flavor that, when part of the active Stack, stores all the artifacts generated by Pipeline runs in the designated local directory.
profilesdirectory is used as a default root path location where ZenML stores information about the Stacks, Stack Components, custom Stack Component flavors etc. that are configured under each Profile. Every Profile will have its own subdirectory here, unless the Profile is explicitly created with a custom configuration path. (See the
zenml profilecommand and the section on ZenML Profiles for more information about Profiles.)
zenml_examples- used as a local cache by the
zenml examplecommand, 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.
zenml initcommand from that folder or passing its location as an argument to that same command, e.g.:
.zendirectory located in the root folder. The
.zendirectory contains a single
config.yamlfile that stores the local settings:
.zensubdirectory in that folder.
zenml.config.global_config.GlobalConfigurationsingleton, while the
zenml.repository.Repositorysingleton acts as the central point of management for Stacks, Stack Components, Stack Component flavors and other associated ZenML concepts. The following are examples of how to use these singletons to perform various operations: