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.
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.
Similar to this example https://www.github.com/kubeflow/pipelines/tree/master/tools%2Fbenchmarks%2Frun_service_api.ipynb
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.
Most helpful comment
Similar to this example https://www.github.com/kubeflow/pipelines/tree/master/tools%2Fbenchmarks%2Frun_service_api.ipynb