mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
2f837c1b23
* doc/operator: update formatting for backup section, add FAQ section * doc/operator: address review feedback * doc/operator: add note about difference between `VMRestore` and `VMBackupmanager` as init containers * Update docs/operator/backups.MD Co-authored-by: Roman Khavronenko <roman@victoriametrics.com> Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
22 lines
653 B
Markdown
22 lines
653 B
Markdown
---
|
|
sort: 15
|
|
---
|
|
|
|
# FAQ
|
|
|
|
## How to change VMStorage PVC storage class
|
|
|
|
With Helm chart deployment:
|
|
|
|
1. Update the PVCs manually
|
|
2. Run `kubectl delete statefulset --cascade=orphan {vmstorage-sts}` which will delete the sts but keep the pods
|
|
3. Update helm chart with the new storage class in the volumeClaimTemplate
|
|
4. Run the helm chart to recreate the sts with the updated value
|
|
|
|
With Operator deployment:
|
|
|
|
1. Update the PVCs manually
|
|
2. Run `kubectl delete vmcluster --cascade=orphan {cluster-name}`
|
|
3. Run `kubectl delete statefulset --cascade=orphan {vmstorage-sts}`
|
|
4. Update VMCluster spec to use new storage class
|
|
5. Apply cluster configuration
|