![]() Automatic merge from submit-queue [Scheduler] Improve pod log output debuggability Address issue is #30675 The result of my expirments shows that both `glog.Infof("%v", pod)` and `glog.Infof("%+v", pod)` can't output useful information of a pod, it can only output `kind:"" apiVersion:""`. `%#v` can output the whole content of pod, but it seems too much! So, my opinion is output pod info use the format of `%v` to print`pod.Namespace/pod.Name` instead of the pod **object** in both [here](https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/scheduler.go#L96) and [here](https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/scheduler.go#L100). @wojtek-t |
||
---|---|---|
.. | ||
algorithm | ||
algorithmprovider | ||
api | ||
factory | ||
metrics | ||
schedulercache | ||
testing | ||
extender_test.go | ||
extender.go | ||
generic_scheduler_test.go | ||
generic_scheduler.go | ||
OWNERS | ||
scheduler_test.go | ||
scheduler.go |