Skip to content

Commit

Permalink
koord-descheduler: add arbitration to migration controller.
Browse files Browse the repository at this point in the history
1.remove AnnotationPassedArbitration's deletion.

Signed-off-by: baowj <[email protected]>
  • Loading branch information
baowj-678 committed Sep 22, 2023
1 parent 29cf06b commit d7c6f09
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/descheduler/controllers/migration/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,6 @@ func (r *Reconciler) preparePendingJob(ctx context.Context, job *sev1alpha1.PodM
}
}

// delete passed arbitration annotation
if job.Annotations != nil {
delete(job.Annotations, arbitrator.AnnotationPassedArbitration)
}
job.Status.Phase = sev1alpha1.PodMigrationJobRunning
err = r.Client.Status().Update(ctx, job)
return reconcile.Result{}, err
Expand Down

0 comments on commit d7c6f09

Please sign in to comment.