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/preparations.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Follow the prerequisites as explained in [Self-Hosted installation over Kubernet
23
23
```
24
24
25
25
=== "Airgapped"
26
-
You should receive a single file `runai-air-gapped-<version>.tar.gz` from Run:ai customer support
26
+
You should receive a single file `runai-air-gapped-<VERSION>.tar.gz` from Run:ai customer support
27
27
28
28
SSH into a node with `kubectl` access to the cluster and `Docker` installed.
29
29
@@ -60,7 +60,7 @@ Follow the prerequisites as explained in [Self-Hosted installation over Kubernet
60
60
61
61
To access the organization's docker registry it is required to set the registry's credentials (imagePullSecret)
62
62
63
-
Create the secret named `runai-reg-creds` based on your existing credentials. For more information, see [Allowing pods to reference images from other secured registries](https://docs.openshift.com/container-platform/latest/openshift_images/managing_images/using-image-pull-secrets.html#images-allow-pods-to-reference-images-from-secure-registries_using-image-pull-secrets){target=_blank}.
63
+
Create the secret named `runai-reg-creds` based on your existing credentials. For more information, see [Pull an Image from a Private Registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/){target=_blank}.
Copy file name to clipboardExpand all lines: docs/admin/runai-setup/self-hosted/k8s/prerequisites.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,6 @@ As part of the installation process you will install:
11
11
12
12
Both the control plane and clusters require Kubernetes. Typically the control plane and first cluster are installed on the same Kubernetes cluster but this is not a must.
13
13
14
-
!!! Important
15
-
In OpenShift environments, adding a cluster connecting to a __remote__ control plane currently requires the assistance of customer support.
16
-
17
14
## Installer machine
18
15
19
16
The machine running the installation script (typically the Kubernetes master) must have:
@@ -24,7 +21,7 @@ The machine running the installation script (typically the Kubernetes master) mu
24
21
25
22
### Helm
26
23
27
-
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.10 or later. To install Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}. If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
24
+
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.14 or later. To install Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}. If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
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
9
10
10
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
+
11
12
## Preparations
12
13
13
-
=== "Connected"
14
-
No preparation required.
14
+
### Helm
15
+
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.14 or later.
16
+
Before you continue, validate your installed helm client version.
17
+
To install or upgrade Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}.
18
+
If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
15
19
16
-
=== "Airgapped"
17
-
* Ask for a tar file `runai-air-gapped-<new-version>.tar` from Run:ai customer support. The file contains the new version you want to upgrade to. `new-version` is the updated version of the Run:ai control plane.
18
-
* Upload the images as described [here](preparations.md#runai-software-files).
* Ask for a tar file `runai-air-gapped-<NEW-VERSION>.tar.gz` from Run:ai customer support. The file contains the new version you want to upgrade to. `<NEW-VERSION>` is the updated version of the Run:ai control plane.
33
+
* Upload the images as described [here](preparations.md#runai-software-files).
26
34
27
-
```bash
28
-
POSTGRES_PV=$(kubectl get pvc pvc-postgresql -n runai-backend -o jsonpath='{.spec.volumeName}')
29
-
THANOS_PV=$(kubectl get pvc pvc-thanos-receive -n runai-backend -o jsonpath='{.spec.volumeName}')
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
+
39
+
### Upgrade from version 2.7 or 2.8
34
40
35
41
Before upgrading the control plane, run:
36
42
@@ -55,11 +61,12 @@ Next, install NGINX as described [here](../../cluster-setup/cluster-prerequisite
55
61
56
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.
57
63
58
-
### Upgrade from version 2.9, 2.10, 2.11
64
+
65
+
### Upgrade from version 2.9, 2.10 , or 2.11
59
66
60
67
Two significant changes to the control-plane installation have happened with version 2.12: _PVC ownership_ and _installation customization_.
61
68
62
-
#### PVC Ownership
69
+
#### PVC ownership
63
70
64
71
Run:ai will no longer directly create the PVCs that store Run:ai data (metrics and database). Instead, going forward,
65
72
@@ -70,7 +77,7 @@ The storage class, as per [Kubernetes standards](https://kubernetes.io/docs/conc
70
77
71
78
To remove the ownership in an older installation, run:
Delete the ingress object which will be recreated by the control plane upgrade
81
88
82
-
```
89
+
```bash
83
90
kubectl delete ing -n runai-backend runai-backend-ingress
84
91
```
85
-
#### Installation Customization
92
+
#### Installation customization
86
93
87
94
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:
88
95
89
96
* 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.
90
97
* Search for the customizations you found in the [optional configurations](./backend.md#optional-additional-configurations) table and add them in the new format.
91
98
92
-
### Upgrade Control Plane
93
99
100
+
## Upgrade Control Plane
101
+
102
+
### Upgrade from version 2.13, or later
103
+
104
+
=== "Connected"
105
+
106
+
``` bash
107
+
helm get values runai-backend -n runai-backend > runai_control_plane_values.yaml
* Create a `tls secret` as described in the [control plane installation](backend.md).
95
120
* 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:
Copy file name to clipboardExpand all lines: docs/admin/runai-setup/self-hosted/ocp/prerequisites.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The machine running the installation script (typically the Kubernetes master) mu
23
23
24
24
### Helm
25
25
26
-
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.10 or later. To install Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}. If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
26
+
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.14 or later. To install Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}. If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
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
+
10
+
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
+
6
12
## Preparations
7
13
14
+
### Helm
15
+
Run:ai requires [Helm](https://helm.sh/){target=_blank} 3.14 or later.
16
+
Before you continue, validate your installed helm client version.
17
+
To install or upgrade Helm, see [Installing Helm](https://helm.sh/docs/intro/install/){target=_blank}.
18
+
If you are installing an air-gapped version of Run:ai, The Run:ai tar file contains the helm binary.
* Ask for a tar file `runai-air-gapped-<new-version>.tar` from Run:ai customer support. The file contains the new version you want to upgrade to. `new-version` is the updated version of the Run:ai control plane.
31
+
* Ask for a tar file `runai-air-gapped-<NEW-VERSION>.tar.gz` from Run:ai customer support. The file contains the new version you want to upgrade to. `<NEW-VERSION>` is the updated version of the Run:ai control plane.
13
32
* Upload the images as described [here](preparations.md#runai-software-files).
14
33
15
-
## Upgrade Control Plane
34
+
## Before upgrade
16
35
17
-
### Upgrade from Version 2.7 or 2.8.
36
+
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.
Then upgrade the control plane as described [below](#upgrade-the-control-plane). Before upgrading, find customizations and merge them as discussed below.
30
51
31
-
### Upgrade from Version 2.9, 2.10 or 2.11
52
+
### Upgrade from version 2.9, 2.10 or 2.11
32
53
33
54
Two significant changes to the control-plane installation have happened with version 2.12: _PVC ownership_ and _installation customization_.
34
-
#### PVC Ownership
55
+
#### PVC ownership
35
56
36
57
Run:ai will no longer directly create the PVCs that store Run:ai data (metrics and database). Instead, going forward,
37
58
@@ -46,20 +67,35 @@ To remove the ownership in an older installation, run:
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:
52
73
53
74
* 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.
54
75
* Search for the customizations you found in the [optional configurations](./backend.md#optional-additional-configurations) table and add them in the new format.
55
76
56
77
78
+
## Upgrade Control Plane
57
79
58
-
Then upgrade the control plane as described [below](#upgrade-the-control-plane).
80
+
### Upgrade from version 2.13, or later
59
81
60
-
### Upgrade Control Plane
82
+
=== "Connected"
83
+
84
+
``` bash
85
+
helm get values runai-backend -n runai-backend > runai_control_plane_values.yaml
0 commit comments