This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new e2d6ebe5 [YUNIKORN-2992] Emit warning message in plugin mode (#943)
e2d6ebe5 is described below
commit e2d6ebe5c879157455d15e49bea8143f6375fe4c
Author: Peter Bacsko <[email protected]>
AuthorDate: Wed Dec 11 12:02:39 2024 -0600
[YUNIKORN-2992] Emit warning message in plugin mode (#943)
Closes: #943
Signed-off-by: Craig Condit <[email protected]>
---
pkg/plugin/scheduler_plugin.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/pkg/plugin/scheduler_plugin.go b/pkg/plugin/scheduler_plugin.go
index 39eec553..047f363e 100644
--- a/pkg/plugin/scheduler_plugin.go
+++ b/pkg/plugin/scheduler_plugin.go
@@ -269,6 +269,7 @@ func (sp *YuniKornSchedulerPlugin) PostBind(_
context.Context, _ *framework.Cycl
// NewSchedulerPlugin initializes a new plugin and returns it
func NewSchedulerPlugin(_ context.Context, _ runtime.Object, handle
framework.Handle) (framework.Plugin, error) {
log.Log(log.ShimSchedulerPlugin).Info(conf.GetBuildInfoString())
+ log.Log(log.ShimSchedulerPlugin).Warn("The plugin mode has been
deprecated and will be removed in a future release. Consider migrating to
YuniKorn standalone mode.")
configMaps, err := client.LoadBootstrapConfigMaps()
if err != nil {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]