Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify PVCs are not used by any Pods before deleting them #738

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Dec 12, 2024

…a PVC, verify that no Pods match this index search

What this PR does:
Verify that PersistentVolumeClaim is not used by any Pod before deleting it, in case there were some ghost pods still existing with the PVC mounted.

Which issue(s) this PR fixes:
Fixes #737

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

…a PVC, verify that no Pods match this index search
@burmanm burmanm requested a review from a team as a code owner December 12, 2024 16:01
@burmanm burmanm changed the title Add a new indexer for matching Pod ClaimNames to PVCs. When deleting … Verify PVCs are not used by any Pods before deleting them Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add additional checks before PVC deletion
1 participant