This is an automated email from the ASF dual-hosted git repository.
manirajv06 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 1f4df62d [YUNIKORN-3272] Remove code: Clean up cmd directory in shim
repo (#1021)
1f4df62d is described below
commit 1f4df62da022f561953f3467dc57a04592bcf771
Author: Manikandan R <[email protected]>
AuthorDate: Wed May 6 09:00:08 2026 +0530
[YUNIKORN-3272] Remove code: Clean up cmd directory in shim repo (#1021)
Closes: #1021
Signed-off-by: Manikandan R <[email protected]>
---
pkg/cmd/schedulerplugin/main.go | 39 ---------------------------------------
1 file changed, 39 deletions(-)
diff --git a/pkg/cmd/schedulerplugin/main.go b/pkg/cmd/schedulerplugin/main.go
deleted file mode 100644
index 66a0a7cd..00000000
--- a/pkg/cmd/schedulerplugin/main.go
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-package main
-
-import (
- "os"
-
- "k8s.io/kubernetes/cmd/kube-scheduler/app"
-
- "github.com/apache/yunikorn-k8shim/pkg/plugin"
- "github.com/apache/yunikorn-k8shim/pkg/plugin/predicates"
-)
-
-func main() {
- predicates.EnableOptionalKubernetesFeatureGates()
-
- command := app.NewSchedulerCommand(
- app.WithPlugin(plugin.SchedulerPluginName,
plugin.NewSchedulerPlugin))
-
- if err := command.Execute(); err != nil {
- os.Exit(1)
- }
-}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]