Commit c3f272f0 authored by Haowei Cai's avatar Haowei Cai

kube-aggregator: bump openapi aggregation log level

parent a9f35a67
...@@ -99,7 +99,13 @@ func (c *AggregationController) processNextWorkItem() bool { ...@@ -99,7 +99,13 @@ func (c *AggregationController) processNextWorkItem() bool {
return false 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) klog.Infof("OpenAPI AggregationController: Processing item %s", key)
}
action, err := c.syncHandler(key.(string)) action, err := c.syncHandler(key.(string))
if err == nil { if err == nil {
......
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