From d7c6f09191f64928f6e86c5db5c8047dc7fdc93a Mon Sep 17 00:00:00 2001 From: baowj-678 Date: Fri, 22 Sep 2023 14:24:36 +0800 Subject: [PATCH] koord-descheduler: add arbitration to migration controller. 1.remove AnnotationPassedArbitration's deletion. Signed-off-by: baowj --- pkg/descheduler/controllers/migration/controller.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/descheduler/controllers/migration/controller.go b/pkg/descheduler/controllers/migration/controller.go index 537d2e0cb..88e4f3dc5 100644 --- a/pkg/descheduler/controllers/migration/controller.go +++ b/pkg/descheduler/controllers/migration/controller.go @@ -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