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

./start cleanup deletes PersistentVolumes which are valid, but not bound #2

Open
Stono opened this issue Mar 14, 2017 · 0 comments
Open
Labels

Comments

@Stono
Copy link
Owner

Stono commented Mar 14, 2017

At the moment, the cleanup script is detecting PersistentVolumes as part of PersistentVolumeClaims that are not bound, but still valid.

For example; take a StatefuleSet with a PVC Template, scale it to 3, then down to 2, and you'll still have 3 disks (valid), clenaup will delete that third disk, leaving the PVC in an invalid state.

PV's should be checked against PVC's, not just for their bound status.

@Stono Stono added the bug label Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant