diff --git a/pkg/scheduler/cache/cache.go b/pkg/scheduler/cache/cache.go index df0b533bf..517a6f6ee 100644 --- a/pkg/scheduler/cache/cache.go +++ b/pkg/scheduler/cache/cache.go @@ -424,6 +424,7 @@ func (sc *SchedulerCache) Bind(taskInfo *kbapi.TaskInfo, hostname string) error if err := sc.Binder.Bind(p, hostname); err != nil { sc.resyncTask(task) } + sc.Recorder.Eventf(p, v1.EventTypeNormal, "Scheduled", "Successfully assigned %v/%v to %v", p.Namespace, p.Name, hostname) }() return nil