kubernetes/pkg/scheduler/framework/plugins/interpodaffinity
Patrick Ohly 1f341ee7b5 kube-scheduler: downgrade namespace log message from "error" to "info"
GetNamespaceLabelsSnapshot has a fallback when it gets errors when looking up a
namespace, therefore reporting the error is more informational than a real
error. In particular, not finding the namespace is normal when running
test/integration/scheduler_perf and happens so frequently that there is a lot
of output on stderr:

E0120 12:19:09.204768   95305 plugin.go:138] "getting namespace, assuming empty set of namespace labels" err="namespace \"namespace-1\" not found" namespace="namespace-1"
2022-02-07 08:59:19 +01:00
..
filtering.go Migrate scheduler files interpodaffinity/filtering.go,podtopologyspread/filtering.go, volume_zone.go to structured logging 2021-10-29 11:41:02 +08:00
filtering_test.go sched: fix goroutine leak in unit tests 2022-01-22 22:53:11 -08:00
plugin.go kube-scheduler: downgrade namespace log message from "error" to "info" 2022-02-07 08:59:19 +01:00
scoring.go Missing return on error 2021-03-23 17:21:07 +08:00
scoring_test.go sched: fix goroutine leak in unit tests 2022-01-22 22:53:11 -08:00