Upgrading a Kubeflow Deployment

Upgrading your deployment to a later version of Kubeflow

Until version 1.0 Kubeflow makes no promises of backwards compatibility orupgradeability. Nonetheless, here are some instructions for updating yourdeployments.

Upgrading Kubeflow

Updating your deployment is a two step process:

  • Update your kustomize manifests:

    • We recommend checking your local packages into source control to back it up beforeproceeding.
    • Use kfctl to download the desired version of Kubeflow. For example:
  1. export KUBEFLOW_VERSION=v0.6.2
  2. export KFAPP="<the name of your Kubeflow application directory>"
  3. kfctl init ${KFAPP} --version=${KUBEFLOW_VERSION} --package-manager=kustomize@${KUBEFLOW_VERSION}

Note that this will overwrite your previous manifest files.

  • Update the actual deployment:
  1. cd ${KFAPP}
  2. kfctl generate all -V --zone ${ZONE}
  3. kfctl apply -V all

Upgrading or reinstalling Kubeflow Pipelines

Read the Kubeflow Pipelines upgrade guide to makeuse of the following capabilities:

  • Upgrade: You can upgrade your Kubeflow Pipelines deployment to alater version without deleting and recreating the cluster.
  • Reinstall: You can delete a cluster and create a new cluster, specifyingthe storage to retrieve the original data in the new cluster.