I assume you're running an older version of Kubeflow. The current latest version (v1.0 and beyond) supports Pipeline versioning. No, there's no native pipeline versioning in older Kubeflow versions (at least v0.7 or above). So you either have to manually remove the old pipeline and add the new one each time.
However, I typically bypass having to do this by not uploading the pipelines manually at all. There's a kfp-server-api
library that you can check.
You create a kfp.Client
object (link), giving it the host address, namespace and other authenticating info, and then use the upload_pipeline()
call to give a suitable name to your pipeline. Or you can automate the delete
+ add new pipeline (with same name)
workflow.
I find this pretty useful!