Skip to content

Instantly share code, notes, and snippets.

@misterpah
Created May 27, 2023 08:34
Show Gist options
  • Save misterpah/7f77905b76c753cd1df6f61ff503d0a8 to your computer and use it in GitHub Desktop.
Save misterpah/7f77905b76c753cd1df6f61ff503d0a8 to your computer and use it in GitHub Desktop.
k3s + aliyun gpu share - possibly working
---
apiVersion: kubescheduler.config.k8s.io/v1
kind: KubeSchedulerConfiguration
clientConnection:
kubeconfig: /etc/rancher/k3s/k3s.yaml
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment