diff --git a/charts/aws-ebs-csi-driver/README.md b/charts/aws-ebs-csi-driver/README.md new file mode 100644 index 00000000..d0fc8669 --- /dev/null +++ b/charts/aws-ebs-csi-driver/README.md @@ -0,0 +1,28 @@ +## How to delete volumes with `recalimPolicy: retain` +1. Delete pvc: +``` +kubectl delete pvc +``` + +2. Verify PV is `released` +``` +kubectl get pv +``` + +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 +``` + +5. Remove Finalizers (if necessary) +If the PV remains in a Terminating state, remove its finalizers: +``` +kubectl patch pv -p '{"metadata":{"finalizers":null}}' +``` diff --git a/charts/victoria-logs/README.md b/charts/victoria-logs/README.md deleted file mode 100644 index 0f774d8f..00000000 --- a/charts/victoria-logs/README.md +++ /dev/null @@ -1,2 +0,0 @@ -Highly Available Configuration with Helm: -* https://github.com/VictoriaMetrics/VictoriaMetrics/issues/9076