-
Notifications
You must be signed in to change notification settings - Fork 69
/
yatai.rst
51 lines (31 loc) · 1.42 KB
/
yatai.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
=============
Upgrade Yatai
=============
Prerequisites
-------------
- Helm
Yatai uses `Helm <https://helm.sh/docs/intro/using_helm/>`_ to install/upgrade yatai.
Upgrade Steps
-------------
1. Check current version
^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: bash
helm list -f "^yatai$" -A
You should see something like this:
.. code-block:: bash
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
yatai yatai-system 1 2022-12-23 09:39:51 deployed yatai-1.1.0 1.1.0
As you can see, the current version is ``1.1.0``.
2. Upgrade to the target version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you want to upgrade to ``1.1.1``, you can run the following command:
.. warning::
If the minor version of the target version is different from the current version, you will need to check if there is a corresponding migration document, and if so you will need to skip this step and all the next steps and follow the migration guide to complete this upgrade.
.. note::
If your release name is not ``yatai``, you need to replace ``yatai`` with your release name in the following command.
If your namespace is not ``yatai-system``, you need to replace ``yatai-system`` with your namespace in the following command.
.. code-block:: bash
helm upgrade yatai yatai \
--repo https://bentoml.github.io/helm-charts \
--version 1.1.1 \
--namespace yatai-system