Skip to content

Commit 9e9a866

Browse files
committed
Update upgrade.md
1 parent e7cd95a commit 9e9a866

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/admin/runai-setup/self-hosted/k8s/upgrade.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ title: Upgrade self-hosted Kubernetes installation
2525
Before upgrading the control plane, run:
2626

2727
``` 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}')
2830
kubectl patch pv $POSTGRES_PV $THANOS_PV -p '{"spec":{"persistentVolumeReclaimPolicy":"Retain"}}'
2931
```
3032

0 commit comments

Comments
 (0)