docs: describe the destructive PVC upgrade [skip ci]

This commit is contained in:
TapTap committed 2026-11-15 21:50:32 +00:00
1 parent 0caeecb325
commit ef536d1882
1 file changed
+13 -1
+13 -1
View File
@@ -234,7 +234,19 @@ publishes the packaged chart.
Before deploying the mood-first version over an old instance, wipe the old
database and media: V8 drops the content, but the old mounted files are no
longer referenced and should be removed by the operator.
longer referenced and should be removed by the operator. The old chart used the
same PVC name with a smaller size, and PVCs cannot shrink or be repopulated by
an upgrade, so recreate it:
```bash
kubectl -n audiomanager scale deployment/audiomanager --replicas=0
kubectl -n audiomanager delete pvc audiomanager-data
helm upgrade --install audiomanager charts/audiomanager \
--namespace audiomanager --reset-values \
--set users.existingSecret=audiomanager-users --set image.tag=<sha>
```
Old hostPath music/longform files can be deleted manually. There is no import.
## Client