Yoda-Scheduler


Yoda is a kubernetes scheduler based on scheduling-framework. By cooperation with SCV Sniffer,
it is schedules tasks according to GPU metrics.
Get Started
kubectl apply -f https://raw.githubusercontent.com/NJUPT-ISL/Yoda-Scheduler/master/deploy/yoda-scheduler.yaml
- Check the Yoda Scheduler Status:
kubectl get pods -n kube-system
Deploy a Pod using Yoda
- Create a pod which needs 1000MB GPU Memory:
apiVersion: v1
kind: Pod
metadata:
name: test
labels:
scv/memory: "1000"
spec:
schedulerName: yoda-scheduler
containers:
- image: nginx
name: nginx
- Create a pod which needs 2 GPU:
apiVersion: v1
kind: Pod
metadata:
name: test2
labels:
scv/number: "2"
spec:
schedulerName: yoda-scheduler
containers:
- image: nginx
name: nginx
- Create a pod that requires a high-performance GPU:
apiVersion: v1
kind: Pod
metadata:
name: test3
labels:
scv/clock: "5705"
scv/memory: "8000"
spec:
schedulerName: yoda-scheduler
containers:
- image: nginx
name: nginx
Check the sample pod Status:
kubectl get pods
How to develop Yoda
make local
make build
make clean
Contact us
