Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions charts/aws-ebs-csi-driver/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## How to delete volumes with `recalimPolicy: retain`
1. Delete pvc:
```
kubectl delete pvc <pvc-name>
```

2. Verify PV is `released`
```
kubectl get pv <pv-name>
```

3. Manually remove EBS in AWS
1. Go to AWS GUI and List EBS Volumes
1. Filter by tag `ebs.csi.aws.com/cluster=true`
1. Identify the volume associated with your PV (check `kubernetes.io/created-for/pv/name` tag of the EBS Volume)
1. Verify that EBS Volume is `Available`
1. Delete EBS Volume

4. Delete the PV
```
kubectl delete pv <pv-name>
```

5. Remove Finalizers (if necessary)
If the PV remains in a Terminating state, remove its finalizers:
```
kubectl patch pv <pv-name> -p '{"metadata":{"finalizers":null}}'
```
2 changes: 0 additions & 2 deletions charts/victoria-logs/README.md

This file was deleted.

Loading