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

fix delete volume issues #937

Merged
merged 2 commits into from
Apr 26, 2024
Merged

fix delete volume issues #937

merged 2 commits into from
Apr 26, 2024

Conversation

zxh326
Copy link
Member

@zxh326 zxh326 commented Apr 25, 2024

  • add locks for delete volume

  • remove nodeName & priorityClass for job

// set node name to empty to let k8s scheduler to choose a node
podTemplate.Spec.NodeName = ""
// set priority class name to empty to make job use default priority class
podTemplate.Spec.PriorityClassName = ""
Copy link
Member Author

@zxh326 zxh326 Apr 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

large number of cleanup/delvol jobs may preempt normal/application pods, which is not as expected

@zxh326 zxh326 merged commit 82408d1 into master Apr 26, 2024
24 checks passed
@zxh326 zxh326 deleted the fix-delete-volume-job branch April 26, 2024 03:46
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.

2 participants