1.5 KiB
+++ title = "Upgrading Kubeflow Deployments" description = "Upgrading your Kubeflow deployment" weight = 30 +++
Until version 1.0 Kubeflow makes no promises of backwards compatibility or upgradeability. Nonetheless, here are some instructions for updating your deployments.
Upgrading Kubeflow
Updating your deployment is a two step process:
-
Update your ksonnet application:
-
We recommend checking your app into source control to back it up before proceeding.
-
Use the script [upgrade_ks_app.py](https://github.com/kubeflow/kubeflow/tree/{{< params "githubbranch" >}}/scripts) to update your ksonnet app with the current version for the Kubeflow packages.
Note: ksonnet is working on support for this capability. See https://github.com/ksonnet/ksonnet/issues/237
-
Update the actual deployment:
-
Delete TFJobs v1alpha1 because Kubernetes can't deploy multiple versions of a CRD:
kubectl delete crd tfjobs.kubeflow.org
-
Redeploy Kubeflow:
ks apply ${ENVIRONMENT} -c ${COMPONENT}
Upgrading or reinstalling Kubeflow Pipelines
Read the Kubeflow Pipelines upgrade guide to make use of the following capabilities:
- Upgrade: You can upgrade your Kubeflow Pipelines deployment to a later version without deleting and recreating the cluster.
- Reinstall: You can delete a cluster and create a new cluster, specifying the storage to retrieve the original data in the new cluster.