Skip to content

Commit

Permalink
[YUNIKORN-2992] Emit warning message in plugin mode (#943)
Browse files Browse the repository at this point in the history
Closes: #943

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
pbacsko authored and craigcondit committed Dec 11, 2024
1 parent 31132ba commit e2d6ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/plugin/scheduler_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e2d6ebe

Please sign in to comment.