From e2d6ebe5c879157455d15e49bea8143f6375fe4c Mon Sep 17 00:00:00 2001 From: Peter Bacsko Date: Wed, 11 Dec 2024 12:02:39 -0600 Subject: [PATCH] [YUNIKORN-2992] Emit warning message in plugin mode (#943) Closes: #943 Signed-off-by: Craig Condit --- 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 39eec553d..047f363e8 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 {