volcano
volcano copied to clipboard
Support suspend like a batch job
What would you like to be added:
Do we have plans to add a suspend field like the k8s native batch job?
Thank you for participating in the community exchange, can you describe your application scenario in detail, and what else do you hope the community will do?
Currently there is no such field, but I think we need one.
/assign
This feature is already present and can be accessed via the CLI command "vsuspend", so I think it would be safe to close this issue.
/unassign
Hello 👋 Looks like there was no activity on this issue for last 90 days. Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗 If there will be no activity for 60 days, this issue will be closed (we can always reopen an issue if we need!).
This feature is already present and can be accessed via the CLI command "vsuspend", so I think it would be safe to close this issue.
The implementation you are referring to is to change the job from a pending/running state to Aborting/Aborted so that the volcanojob will be deleted,I would expect it to be suspended after suspend and the volcanojob not be deleted. Like batch/job suspend.
Hi @GhangZh seems the job will not be deleted, see https://github.com/volcano-sh/volcano/blob/a566d48f54b7f31513efa51045a6492a946430fc/pkg/controllers/job/job_controller_actions.go#L428,
cc @william-wang for confirmation.
That means volcano supports the Suspend/Unsuspend semantic.