繁体   English   中英

将 Elyra-Pipelines 编译为基于 Tekton 的 Kubeflow 失败

[英]Compilation of Elyra-Pipelines to Tekton based Kubeflow fails

我使用以下说明KIND之上安装了一个 kubernetes 集群运行基于 tekton 的 kubeflow 管道

现在我从 Elyra 管道编辑器收到以下错误消息。 在基于 argo 的 kfp 集群上运行可以正常工作。

kfp 编译器是否以某种方式不支持 tekton? 有人可以对此有所了解吗?

HTTP 响应体:

{"error_message":"Error creating pipeline: Create pipeline failed: 
Failed to get parameters from the pipelineRun: Invalid input error: 
Unsupported argo version. 
Expected: tekton.dev/v1beta1.
Received: argoproj.io/v1alpha1",
"error_details":"Error creating pipeline: Create pipeline failed: 
Failed to get parameters from the pipelineRun: Invalid input error: 
Unsupported argo version. Expected: tekton.dev/v1beta1. 
Received: argoproj.io/v1alpha1"}

这里有不同的方面需要考虑:

需要执行自定义部署以使 Kubeflow Pipelines 能够集成/使用 Tekton 环境。 正如您所提到的, 这里描述了这些步骤。

至于 Elyra 支持,从 Elyra 2.x 开始的 Elyra 最新版本已包含使用 Tekton 对 KFP 的支持,更多文档可在Elyra 用户指南中找到

如果您仍在使用 Elyra 1.x 或更低版本,以下内容仍然适用:

Now, related to compiling and executing the Kubeflow Pipeline on a Tekton environment, Elyra is currently using the KFP SDK python package and the regular compiler to compile and generate the default ARGO YAML (see code here ). 为了支持 Tekton,我们需要使用不同的 python package (kfp-tekton==0.3.0),并且在编译期间还需要不同的代码路径(参见示例)。

另一个方面是, 迁移路径中描述的两个管道之间似乎存在一些不兼容。

关于支持, Elyra 项目将欢迎捐款。

截至目前,Tekton 编译器位于单独的 package 中。 您可以使用pip install kfp-tekton==0.3.0 for kubeflow 1.2 安装它。 是用户指南

目前,Elyra 不支持编译 kfp-tekton,只支持 kfp-argo

Elyra 团队对此有一个未解决的问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM