使用 cli 或 API 而非 UI 部署 Kubeflow 管道

Deploying Kubeflow pipelines using cli or API, not on UI

可以通过在管道上上传来创建 Kubeflow 管道 UI。

但是开发pipeline很烦,重复一些改动,重新上传

好像没有相关文件

是否可以使用 cli 或 API 而非 UI 部署 Kubeflow 管道?

有什么想法吗?谢谢!

我找到了 example notebook.

笔记本底部,Kubeflow pipelines can be 运行 on code using Kubeflow pipeline python sdk.

您可以使用 kfp.Client(host=...).create_run_from_pipeline_func(my_pipeline, arguments={})

提交管道以供执行