Skip to content

Commit d8aed21

Browse files
authored
Kubernetes topolvm: fix pv removal doc (#1141)
Add necessary 5th step
1 parent 7a720da commit d8aed21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/topolvm/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ Source: https://github.com/topolvm/topolvm/blob/topolvm-chart-v15.5.5/docs/getti
1616

1717
## Deleting PV(C)s with `retain` reclaim policy
1818
1. Delete release (e.g. helm uninstall -n test test)
19-
2. Find LogicalVolume CR (`kubectl get logicalvolumes.topolvm.io`
19+
2. Find LogicalVolume CR (`kubectl get logicalvolumes.topolvm.io`)
2020
3. Delete LogicalVolume CR (`kubectl delete logicalvolumes.topolvm.io <lv-name>`)
2121
4. Delete PV (`kubectl delete PV <pv-name>`)
22+
5. Remove PV's finalizers (`kubectl patch pv <pv-name> -p '{"metadata":{"finalizers":null}}'`)
2223

2324
## Backup / Snapshotting
2425
1. Only possible while using thin provisioning

0 commit comments

Comments
 (0)