Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use gpushare-scheduler-extender on EKS cluster with Kubernetes v1.24 #205

Open
suchisur opened this issue Mar 15, 2023 · 2 comments

Comments

@suchisur
Copy link

With refernce to #145 , there has been a olution given to use the extender in EKS, however the solution only works for Kubernetes v1.23 and below.
Since kubernetes v1.24, there has been a removal of scheduling policies , they are no longer supported(https://kubernetes.io/docs/reference/scheduling/policies/) instead scheduler configurations(https://kubernetes.io/docs/reference/scheduling/config/) should be used. Have tried using the new KubeSchedulerConfiguration by editing the configmap. The image has changed as well, and the pods do not come up. Any help would be appreciated

@KunWuLuan
Copy link
Contributor

Hi, you can modify the schedule framework config like the following:

---
apiVersion: kubescheduler.config.k8s.io/v1beta2
kind: KubeSchedulerConfiguration
clientConnection:
  kubeconfig: /etc/kubernetes/scheduler.conf
extenders:
- urlPrefix: "http://127.0.0.1:32766/gpushare-scheduler"
  filterVerb: filter
  bindVerb: bind
  enableHTTPS: false
  nodeCacheCapable: true
  managedResources:
  - name: aliyun.com/gpu-mem
    ignoredByScheduler: false
  ignorable: false

And add policy config file parameter in scheduler arguments like this:
--config=/etc/kubernetes/schedule-framework-config.yaml

@YuuinIH
Copy link

YuuinIH commented Mar 23, 2023

#145 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants