Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade guide for 2.15 #261

Merged
merged 10 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/how-to/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Upgrading
:maxdepth: 1

migrate-v1-v2
migrate-v21-v215

Managing
--------
Expand Down
51 changes: 51 additions & 0 deletions docs/how-to/migrate-v21-v215.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Upgrade Charmed MLflow 2.1 to 2.15
==================================================

This guide describes how to upgrade Charmed MLflow version 2.1 to 2.15.

Prerequisites
-------------
NohaIhab marked this conversation as resolved.
Show resolved Hide resolved

This guide assumes:

* You have deployed MLflow version 2.11.
* You have Command Line Interface (CLI) access to the machine where the Juju controller is deployed. All commands in this guide are executed from it.

.. tip::
Before proceeding, you might want to backup MinIO data including your experiments and models. See :ref:`backup` for more details.

Upgrade dependencies
---------------------

Charmed MLflow 2.15 requires:

1. `MicroK8s <https://microk8s.io/>`_ version 1.29 or higher.
2. `Juju <https://juju.is/>`_ version 3.4.

If you do not meet these requirements, please upgrade these dependencies.
See `MicroK8s upgrade <https://microk8s.io/docs/upgrading>`_
and `Juju upgrade <https://juju.is/docs/juju/upgrade-your-juju-deployment>`_ respectively for more details.

Upgrade MLflow bundle
----------------------

To upgrade the MLflow bundle charms from 2.11 to 2.15, run the following commands:

.. code-block:: bash

juju refresh mlflow-minio --channel=ckf-1.9/stable
juju refresh mlflow-server --channel=2.15/stable

Upgrade resource dispatcher
--------------------------------------

Only if you are running MLflow within Kubeflow, you must upgrade your `resource dispatcher <https://github.com/canonical/resource-dispatcher>`_ deployment.

.. note::
MLflow 2.15 works only with resource dispatcher version 2.0/stable.

To upgrade your resource dispatcher, do the following:

.. code-block:: bash

juju refresh resource-dispatcher --channel=2.0/stable
6 changes: 6 additions & 0 deletions docs/reuse/links.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
.. _configured: https://rclone.org/s3/#configuration
.. _yq binary: https://snapcraft.io/yq
.. _Create a backup: https://charmhub.io/mysql-k8s/docs/h-create-and-list-backups

.. _MicroK8s: https://microk8s.io/




Loading