ment variable:

ZENML_LOGGING_COLORS_DISABLED=trueNote that setting this on the client environment (e.g. your local machine which runs the pipeline) will automatically disable colorful logging on remote orchestrators. If you wish to disable it locally, but turn on for remote orchestrators, you can set the ZENML_LOGGING_COLORS_DISABLED environment variable in your orchestrator's environment as follows:

docker_settings = DockerSettings(environment={"ZENML_LOGGING_COLORS_DISABLED": "false"})

# Either add it to the decorator

@pipeline(settings={"docker": docker_settings})

def my_pipeline() -> None:

my_step()

# Or configure the pipelines options

my_pipeline = my_pipeline.with_options(

settings={"docker": docker_settings}

ZenML global config path

To set the path to the global config file, used by ZenML to manage and store the state for a number of settings, set the environment variable as follows:

export ZENML_CONFIG_PATH=/path/to/somewhere

Server configuration

For more information on server configuration, see the ZenML Server documentation for more, especially the section entitled "ZenML server configuration options".

Client configuration

Setting the ZENML_STORE_URL and ZENML_STORE_API_KEY environment variables automatically connects your ZenML Client to the specified server. This method is particularly useful when you are using the ZenML client in an automated CI/CD workload environment like GitHub Actions or GitLab CI or in a containerized environment like Docker or Kubernetes:

export ZENML_STORE_URL=https://...

export ZENML_STORE_API_KEY=<API_KEY>

PreviousGlobal settings

NextAPI reference

Last updated 19 days ago