Merge pull request #121572 from Prateek462003/myFeature

Added Logging for all the enabled plugins in each extension point
This commit is contained in:
Kubernetes Prow Robot 2023-12-13 22:34:06 +01:00 committed by GitHub
commit badc4102ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,6 +355,8 @@ func NewFramework(ctx context.Context, r Registry, profile *config.KubeScheduler
options.captureProfile(outputProfile)
}
// Logs Enabled Plugins at each extension point, taking default plugins, given config, and multipoint into consideration
logger.V(2).Info("the scheduler starts to work with those plugins", "Plugins", *f.ListPlugins())
f.setInstrumentedPlugins()
return f, nil
}