UPSTREAM: 75781: kube-aggregator: bump openapi aggregation log level for delegation targets
@@ -99,7 +99,13 @@ func (c *AggregationController) processNextWorkItem() bool {
return false
}
+ if aggregator.IsLocalAPIService(key.(string)) {
+ // for local delegation targets that are aggregated once per second, log at
+ // higher level to avoid flooding the log
+ klog.V(5).Infof("OpenAPI AggregationController: Processing item %s", key)
+ } else {
klog.Infof("OpenAPI AggregationController: Processing item %s", key)
+ }
action, err := c.syncHandler(key.(string))
if err == nil {
