Pipelines: Question: Job api specifing pipeline version

Created on 29 Oct 2020  路  9Comments  路  Source: kubeflow/pipelines

when creating a job via the kfp client (client.jobs.create_job), is it possible to specify a pipeline version?
I am taking a look at https://github.com/kubeflow/pipelines/blob/master/backend/api/python_http_client/docs/ApiPipelineSpec.md
but I cant find any parametr.

aredocs help wanted kinquestion lifecyclstale

Most helpful comment

All 9 comments

I checked the api:s and I actually don't think it is possible to select the pipeline_version, instead the default_version will be used. You will in future release be able to set the default pipeline version: https://github.com/kubeflow/pipelines/pull/4406 today the latest is selected.

I might be missing something in the API, if not I think this would be a great contribution to the API.

@NikeNano thanks!

@dav009 in fact, selecting version is supported, but not very obvious.

You need to add a resource reference that points to a pipeline version.

ping @dav009

@Bobgy @NikeNano thanks!

@Bobgy @NikeNano sorry guys, reopened this. I am happy to document this somewhere.

Where should I look in order to do that github.com/kubeflow/website ? or the docs within the kubeflow/pipelines repo?

Thanks @dav009 !
www.kubeflow.org will be the best place.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

suzusuzu picture suzusuzu  路  4Comments

Bobgy picture Bobgy  路  3Comments

VindhyaSRajan picture VindhyaSRajan  路  3Comments

talhairfanbentley picture talhairfanbentley  路  5Comments

xinbinhuang picture xinbinhuang  路  3Comments