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

Add drive suspension command instead of suspending volumes via labels #836

Closed
Praveenrajmani opened this issue Sep 5, 2023 · 0 comments · Fixed by #842
Closed

Add drive suspension command instead of suspending volumes via labels #836

Praveenrajmani opened this issue Sep 5, 2023 · 0 comments · Fixed by #842
Assignees

Comments

@Praveenrajmani
Copy link
Collaborator

Currently, we have volume suspension feature which suspends all the volumes by adding a label directpv.min.io/suspend=true to them. Instead, we can have a command like - kubectl directpv suspend which can be used to suspend a drive by suspending all its volumes.

To suspend a drive:

kubectl directpv suspend

To revert:

kubectl directpv resume
@Praveenrajmani Praveenrajmani changed the title Add drive suspenstion command instead of suspending volumes via labels Add drive suspension command instead of suspending volumes via labels Sep 5, 2023
@Praveenrajmani Praveenrajmani self-assigned this Sep 5, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 11, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 11, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 11, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 11, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 15, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 15, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 18, 2023
Praveenrajmani added a commit to Praveenrajmani/directpv that referenced this issue Sep 19, 2023
Praveenrajmani added a commit that referenced this issue Sep 21, 2023
Fixes #836

Co-authored-by: Bala FA <bala@minio.io>
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 a pull request may close this issue.

1 participant