You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone! I have a problem: on Enqueueable actions field job.Tasks is empty, but I want to use tasks details like pod's affinity or priority in my JobEnqueueableFn's logic
example:
ssn.AddJobEnqueueableFn(p.Name(), func(obj any) int {
job := obj.(*api.JobInfo)
for _, task := range job.Tasks { <---------- it is empty and it is problem for me
if !p.myFunc(task) {
return util.Permit
}
}
.....
How can I to do it? Are there any ways?
Any other relevant information
No response
The text was updated successfully, but these errors were encountered:
TimRazumov
changed the title
How I can get tasks info (like affinity) by job on Enqueueable actions?
How can I get tasks info (like affinity) by job on Enqueueable actions?
Aug 7, 2024
Please describe your problem in detail
Hi everyone! I have a problem: on Enqueueable actions field job.Tasks is empty, but I want to use tasks details like pod's affinity or priority in my JobEnqueueableFn's logic
example:
How can I to do it? Are there any ways?
Any other relevant information
No response
The text was updated successfully, but these errors were encountered: