I noticed we want to support Job.Spec update in Controller.updateJob
But the generated request is
req := apis.Request{
Namespace: newJob.Namespace,
JobName: newJob.Name,
Event: vkbatchv1.OutOfSyncEvent,
}
But in syncJob
if no pods provided in request, it will create new pods for the Job, and so it will fail, and the following status is unknown.
btw, I am not very familiar with the entire state machine , and maybe i miss something.
I noticed we want to support Job.Spec update in
Controller.updateJobBut the generated request is
But in syncJob
if no pods provided in request, it will create new pods for the Job, and so it will fail, and the following status is unknown.
btw, I am not very familiar with the entire state machine , and maybe i miss something.