We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a97b23b + 9e9a866 commit e406140Copy full SHA for e406140
docs/admin/runai-setup/self-hosted/k8s/upgrade.md
@@ -20,6 +20,16 @@ title: Upgrade self-hosted Kubernetes installation
20
21
## Upgrade Control Plane
22
23
+### Upgrade from Version 2.9, 2.13, 2.15 or 2.16
24
+
25
+Before upgrading the control plane, run:
26
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}')
30
+kubectl patch pv $POSTGRES_PV $THANOS_PV -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
31
+```
32
33
### Upgrade from Version 2.7 or 2.8
34
35
Before upgrading the control plane, run:
0 commit comments