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.
1 parent e7cd95a commit 9e9a866Copy full SHA for 9e9a866
docs/admin/runai-setup/self-hosted/k8s/upgrade.md
@@ -25,6 +25,8 @@ title: Upgrade self-hosted Kubernetes installation
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
0 commit comments