You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/runai-setup/self-hosted/k8s/upgrade.md
+3-28Lines changed: 3 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -36,33 +36,7 @@ If you are installing an air-gapped version of Run:ai, The Run:ai tar file conta
36
36
37
37
Before proceeding with the upgrade, it's crucial to apply the specific prerequisites associated with your current version of Run:ai and every version in between up to the version you are upgrading to.
38
38
39
-
### Upgrade from version 2.7 or 2.8
40
-
41
-
Before upgrading the control plane, run:
42
-
43
-
```bash
44
-
POSTGRES_PV=$(kubectl get pvc pvc-postgresql -n runai-backend -o jsonpath='{.spec.volumeName}')
45
-
THANOS_PV=$(kubectl get pvc pvc-thanos-receive -n runai-backend -o jsonpath='{.spec.volumeName}')
Before version 2.9, the Run:ai installation, by default, included NGINX. It was possible to disable this installation. If NGINX is enabled in your current installation, as per the default, run the following 2 lines:
(If Run:ai configuration has previously disabled NGINX installation then these lines should not be run).
59
-
60
-
Next, install NGINX as described [here](../../cluster-setup/cluster-prerequisites.md#ingress-controller)
61
-
62
-
Then create a TLS secret and upgrade the control plane as described in the [control plane installation](backend.md). Before upgrading, find customizations and merge them as discussed below.
63
-
64
-
65
-
### Upgrade from version 2.9, 2.10 , or 2.11
39
+
### Upgrade from version 2.9
66
40
67
41
Two significant changes to the control-plane installation have happened with version 2.12: _PVC ownership_ and _installation customization_.
68
42
@@ -114,7 +88,7 @@ The Run:ai control-plane installation has been rewritten and is no longer using
* Create a `tls secret` as described in the [control plane installation](backend.md).
120
94
* Upgrade the control plane as described in the [control plane installation](backend.md). During the upgrade, you must tell the installation __not__ to create the two PVCs:
@@ -141,4 +115,5 @@ The Run:ai control-plane installation has been rewritten and is no longer using
141
115
```
142
116
143
117
## Upgrade Cluster
118
+
144
119
To upgrade the cluster follow the instructions [here](../../cluster-setup/cluster-upgrade.md).
Copy file name to clipboardExpand all lines: docs/admin/runai-setup/self-hosted/ocp/upgrade.md
+3-14Lines changed: 3 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,19 @@
2
2
title: Upgrade self-hosted OpenShift installation
3
3
---
4
4
# Upgrade Run:ai
5
-
6
-
7
5
!!! Important
8
6
Run:ai data is stored in Kubernetes persistent volumes (PVs). Prior to Run:ai 2.12, PVs are owned by the Run:ai installation. Thus, uninstalling the `runai-backend` helm chart may delete all of your data.
9
7
10
8
From version 2.12 forward, PVs are owned the customer and are independent of the Run:ai installation. As such, they are subject to storage class [reclaim](https://kubernetes.io/docs/concepts/storage/storage-classes/#reclaim-policy){target=_blank} policy.
11
9
12
10
## Preparations
13
-
14
11
### Helm
15
12
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.14 or later.
16
13
Before you continue, validate your installed helm client version.
17
14
To install or upgrade Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}.
18
15
If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
19
16
20
17
### Software files
21
-
22
18
=== "Connected"
23
19
Run the helm command below:
24
20
@@ -32,11 +28,8 @@ If you are installing an air-gapped version of Run:ai, The Run:ai tar file conta
32
28
* Upload the images as described [here](preparations.md#software-artifacts).
33
29
34
30
## Before upgrade
35
-
36
31
Before proceeding with the upgrade, it's crucial to apply the specific prerequisites associated with your current version of Run:ai and every version in between up to the version you are upgrading to.
The Run:ai control-plane installation has been rewritten and is no longer using a _backend values file_. Instead, to customize the installation use standard `--set` flags. If you have previously customized the installation, you must now extract these customizations and add them as `--set` flag to the helm installation:
73
64
74
65
* Find previous customizations to the control plane if such exist. Run:ai provides a utility for that here `https://raw.githubusercontent.com/run-ai/docs/v2.13/install/backend/cp-helm-vals-diff.sh`. For information on how to use this utility please contact Run:ai customer support.
75
66
* Search for the customizations you found in the [optional configurations](./backend.md#additional-runai-configurations-optional) table and add them in the new format.
76
67
77
68
78
69
## Upgrade Control Plane
79
-
80
70
### Upgrade from version 2.13, or later
81
-
82
71
=== "Connected"
83
72
84
73
``` bash
@@ -92,7 +81,7 @@ The Run:ai control-plane installation has been rewritten and is no longer using
0 commit comments