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 d993fa93 [YUNIKORN-3260] Cleaned up deployment, docker and conf files 
(#1017)
d993fa93 is described below

commit d993fa93139d3b22237e61ca91a26f9fcd243948
Author: Manikandan R <[email protected]>
AuthorDate: Tue May 5 13:22:29 2026 +0530

    [YUNIKORN-3260] Cleaned up deployment, docker and conf files (#1017)
    
    Closes: #1017
    
    Signed-off-by: Manikandan R <[email protected]>
---
 conf/.gitignore                   |   1 -
 conf/scheduler-config.yaml        |  30 ----------
 deployments/scheduler/plugin.yaml | 119 --------------------------------------
 docker/plugin/Dockerfile          |  20 -------
 4 files changed, 170 deletions(-)

diff --git a/conf/.gitignore b/conf/.gitignore
deleted file mode 100644
index 379ba61a..00000000
--- a/conf/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-scheduler-config-local.yaml
diff --git a/conf/scheduler-config.yaml b/conf/scheduler-config.yaml
deleted file mode 100644
index 104b96ae..00000000
--- a/conf/scheduler-config.yaml
+++ /dev/null
@@ -1,30 +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.
-
-apiVersion: kubescheduler.config.k8s.io/v1
-kind: KubeSchedulerConfiguration
-leaderElection:
-  leaderElect: false
-profiles:
-  - schedulerName: yunikorn
-    plugins:
-      multiPoint:
-        enabled:
-        - name: YuniKornPlugin
-        disabled:
-        - name: DefaultPreemption
-        - name: SchedulingGates
diff --git a/deployments/scheduler/plugin.yaml 
b/deployments/scheduler/plugin.yaml
deleted file mode 100644
index 88951861..00000000
--- a/deployments/scheduler/plugin.yaml
+++ /dev/null
@@ -1,119 +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.
-
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: yunikorn-admin
-
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
-  name: yunikorn-rbac
-subjects:
-  - kind: ServiceAccount
-    name: yunikorn-admin
-    namespace: default
-roleRef:
-  kind: ClusterRole
-  name: cluster-admin
-  apiGroup: rbac.authorization.k8s.io
-
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
-  labels:
-    app: yunikorn
-  name: yunikorn-scheduler
-spec:
-  replicas: 1
-  selector:
-    matchLabels:
-      app: yunikorn
-  template:
-    metadata:
-      labels:
-        app: yunikorn
-        component: yunikorn-scheduler
-      name: yunikorn-scheduler
-    spec:
-      serviceAccountName: yunikorn-admin
-      containers:
-        - name: yunikorn-scheduler-k8s
-          image: apache/yunikorn:scheduler-plugin-latest
-          imagePullPolicy: IfNotPresent
-          ports:
-            - name: http1
-              containerPort: 9080
-              protocol: TCP
-          env:
-            - name: NAMESPACE
-              valueFrom:
-                fieldRef:
-                  fieldPath: metadata.namespace
-          resources:
-            requests:
-              cpu: 1
-              memory: 1Gi
-            limits:
-              cpu: 4
-              memory: 2Gi
-          livenessProbe:
-            httpGet:
-              path: /ws/v1/scheduler/healthcheck
-              port: 9080
-            initialDelaySeconds: 20
-            periodSeconds: 600
-            failureThreshold: 1
-        - name: yunikorn-scheduler-web
-          image: apache/yunikorn:web-latest
-          imagePullPolicy: IfNotPresent
-          ports:
-            - name: http2
-              containerPort: 9889
-              protocol: TCP
-          resources:
-            requests:
-              memory: "100Mi"
-              cpu: "100m"
-            limits:
-              memory: "500Mi"
-              cpu: "200m"
-
----
-apiVersion: v1
-kind: Service
-metadata:
-  name: yunikorn-service
-  labels:
-    app: yunikorn-service
-spec:
-  ports:
-    - port: 9080
-      targetPort: http1
-      protocol: TCP
-      name: yunikorn-core
-    - port: 9889
-      targetPort: http2
-      protocol: TCP
-      name: yunikorn-service
-  selector:
-    app: yunikorn
-  type: LoadBalancer
diff --git a/docker/plugin/Dockerfile b/docker/plugin/Dockerfile
deleted file mode 100644
index 96673a21..00000000
--- a/docker/plugin/Dockerfile
+++ /dev/null
@@ -1,20 +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.
-FROM scratch
-COPY --chown=0:0 LICENSE NOTICE third-party-licenses.md 
yunikorn-scheduler-plugin scheduler-config.yaml /
-USER 4444:4444
-ENTRYPOINT [ "/yunikorn-scheduler-plugin", "--bind-address=0.0.0.0", 
"--config=/scheduler-config.yaml" ]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to