Join the SIG TFX-Addons community and help make TFX even better!


Kubeflow pipelines spec builder.

Constructs a pipeline spec based on the TFX pipeline object.

tfx_pipeline A TFX pipeline object.
default_image Specifies the TFX container image used in CMLE container tasks. Can be overriden by per component specification.
default_commands Optionally specifies the commands of the provided container image. When not provided, the default ENTRYPOINT specified in the docker image is used. Note: the commands here refers to the K8S container command, which maps to Docker entrypoint field. If one supplies command but no args are provided for the container, the container will be invoked with the provided command, ignoring the ENTRYPOINT and CMD defined in the Dockerfile. One can find more details regarding the difference between K8S and Docker conventions at



View source

Build a pipeline PipelineSpec.