s = KubeflowOrchestratorSettings(

client_args={},user_namespace="my_namespace",

pod_settings={

"affinity": {...},

"tolerations": [...]

@pipeline(

settings={

"orchestrator.kubeflow": kubeflow_settings

This allows specifying client arguments, user namespace, pod affinity/tolerations, and more.

Multi-Tenancy Deployments

For multi-tenant Kubeflow deployments, specify the kubeflow_hostname ending in /pipeline when registering the orchestrator:

zenml orchestrator register <NAME> \

--flavor=kubeflow \

--kubeflow_hostname=<KUBEFLOW_HOSTNAME> # e.g. https://mykubeflow.example.com/pipeline

And provide the namespace, username and password in the orchestrator settings:

kubeflow_settings = KubeflowOrchestratorSettings(

client_username="admin",

client_password="abc123",

user_namespace="namespace_name"

@pipeline(

settings={

"orchestrator.kubeflow": kubeflow_settings

For more advanced options and details, refer to the full Kubeflow Orchestrator documentation.

PreviousRun on GCP

NextKubernetes

Last updated 15 days ago