Kubeflow Pipelines runner.
tfx.v1.orchestration.experimental.KubeflowDagRunner(
output_dir: Optional[str] = None,
output_filename: Optional[str] = None,
config: Optional[tfx.v1.orchestration.experimental.KubeflowDagRunnerConfig
] = None,
pod_labels_to_attach: Optional[Dict[str, str]] = None
)
Constructs a pipeline definition YAML file based on the TFX logical pipeline.
Methods
run
run(
pipeline: tfx.v1.dsl.Pipeline
)
Compiles and outputs a Kubeflow Pipeline YAML definition file.
Args | |
---|---|
pipeline
|
The logical TFX pipeline to use when building the Kubeflow pipeline. |
set_exit_handler
set_exit_handler(
exit_handler: tfx.v1.types.BaseNode
)
Set exit handler components for the Kubeflow dag runner.
This feature is currently experimental without backward compatibility gaurantee.
Args | |
---|---|
exit_handler
|
exit handler component. |