Upgrading Kubeflow Clusters

This topic describes the steps to upgrade Kubernetes clusters with the Kubeflow add-on to a newer Kubernetes version. You can also migrate legacy Kubernetes clusters with the Kubeflow add-on from Docker container runtime to the the new Hewlett Packard Enterprise distribution of Kubernetes, which implements containerd runtime.

Upgrading Kubeflow Clusters in HPE Ezmeral Runtime Enterprise

  • If you are upgrading from HPE Ezmeral Runtime Enterprise version 5.4.2 or above, HPE Ezmeral Runtime Enterprise automatically upgrades the Kubeflow add-on during the platform upgrade.
    To upgrade the Kubeflow cluster to a newer version of Kubernetes:
    1. Back up any sensitive user data, such as user notebooks and models trained by users.
    2. Upgrade the cluster to a newer version of Kubernetes as described in Upgrading Kubernetes.
    3. Restore the user data from backup.
  • If you are upgrading from a HPE Ezmeral Runtime Enterprise version below 5.4.2, see Upgrading Kubeflow Clusters in HPE Ezmeral Runtime Enterprise.

Migrating Legacy Kubeflow Clusters in HPE Ezmeral Runtime Enterprise

Legacy Kubernetes clusters with an existing Kubeflow add-on remain on Docker container runtime until you manually migrate them to the the new Hewlett Packard Enterprise distribution of Kubernetes. For information on legacy clusters, see Kubernetes Cluster Types and Compatibility.

To migrate existing legacy Kubeflow clusters to the new Hewlett Packard Enterprise distribution of Kubernetes, perform the following:
  1. Back up any sensitive user data, such as user notebooks and models trained by users.
  2. If you are migrating from a HPE Ezmeral Runtime Enterprise version prior to 5.4.2, remove the Kubeflow add-on. See Uninstalling Kubeflow.
  3. Migrate the Kubeflow cluster to the new Hewlett Packard Enterprise distribution of Kubernetes, as described in Migrating Kubernetes Clusters from Docker to containerd.
  4. If you are performing the migration from a HPE Ezmeral Runtime Enterprise version prior to 5.4.2, re-enable the Kubeflow add-on in the UI after the migration is complete. See Kubeflow Installation.
  5. Restore the user data from backup.