Commit c07d0b77 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #32462 from smarterclayton/sj_logs

Automatic merge from submit-queue ScheduledJob controller is too chatty
parents 148628cb 8b710076
......@@ -102,7 +102,7 @@ func (jm *ScheduledJobController) SyncAll() {
return
}
sjs := sjl.Items
glog.Infof("Found %d scheduledjobs", len(sjs))
glog.V(4).Infof("Found %d scheduledjobs", len(sjs))
jl, err := jm.kubeClient.Batch().Jobs(api.NamespaceAll).List(api.ListOptions{})
if err != nil {
......@@ -110,10 +110,10 @@ func (jm *ScheduledJobController) SyncAll() {
return
}
js := jl.Items
glog.Infof("Found %d jobs", len(js))
glog.V(4).Infof("Found %d jobs", len(js))
jobsBySj := groupJobsByParent(sjs, js)
glog.Infof("Found %d groups", len(jobsBySj))
glog.V(4).Infof("Found %d groups", len(jobsBySj))
for _, sj := range sjs {
SyncOne(sj, jobsBySj[sj.UID], time.Now(), jm.jobControl, jm.sjControl, jm.podControl, jm.recorder)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment