Upgrading Kubeflow Deployments

You are viewing documentation for Kubeflow 0.3

This is a static snapshot from the time of the Kubeflow 0.3 release.
For up-to-date information, see the latest version.

Until 1.0 Kubeflow makes no promises of backwards compatibility or upgradeability. Nonetheless, here are some instructions for updating your deployments.

Updating your deployments is a two step process

  1. Updating your ksonnet application

  2. We recommend checking your app into source control to back it up before proceeding

  3. Use the script (upgrade_ks_app.py)[https://github.com/kubeflow/kubeflow/tree/v0.3-branch/scripts) to update your ksonnet app with the current version for the Kubeflow packages

  4. Note: ksonnet is working on support for this see https://github.com/ksonnet/ksonnet/issues/237

  5. Updating the actual deployment

  6. Delete TFJobs v1alpha1 because K8s can’t deploy multiple versions of a CRD

    kubectl delete crd tfjobs.kubeflow.org
    
  7. Redeploy kubeflow

    ks apply ${ENVIRONMENT} -c ${COMPONENT}