Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

kubernetes - Compilation of Elyra-Pipelines to Tekton based Kubeflow fails

I've installed a kubernetes cluster running kubeflow pipelines based on tekton on top of KIND using the following instructions

Now I'm getting the following error message from the Elyra pipelines editor. Running against an argo based kfp cluster works fine.

Is the kfp compiler somehow not supporting tekton? Can someone please shine some light on this?

HTTP response body:

{"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"}
question from:https://stackoverflow.com/questions/65832799/compilation-of-elyra-pipelines-to-tekton-based-kubeflow-fails

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There are different aspects to consider here:

There is a need to perform a custom deployment to enable Kubeflow Pipelines to integrate/use a Tekton environment. As you mentioned the steps are described here.

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). In order to support Tekton, we will need to use a different python package (kfp-tekton==0.3.0) and there is also a need for a different code path during compilation (see example).

Another aspect is that it seems that there are some incompatibilities between the two pipelines as described in the migration path.

Regarding support, the Elyra project would welcome contributions.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...