Giter Site home page Giter Site logo

hduhhz / yoda-scheduler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mr-linus/yoda-scheduler

0.0 1.0 0.0 69.07 MB

Yoda is a kubernetes scheduler based on GPU metrics. Yoda是一个基于GPU参数指标的 Kubernetes 调度器

Go 96.28% Dockerfile 0.82% Makefile 2.90%

yoda-scheduler's Introduction

Yoda-Scheduler

Status Go Report Card

Yoda

Yoda is a kubernetes scheduler based on scheduling-framework. By cooperation with SCV Sniffer, it is schedules tasks according to GPU metrics.

Get Started

  • Make sure kubernetes cluster version is 1.17+ and SCV sniffer is deployed in kubernetes cluster: SCV: Get-Started

  • Deploy Yoda Scheduler:

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/FreeMemory: "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/Level: "High"
spec:
  schedulerName: yoda-scheduler
  containers:
    - image: nginx
      name: nginx

Check the sample pod Status:

kubectl get pods 

How to develop Yoda

  • Compile yoda-scheduler:
make local
  • Build the docker image:
make build
  • Clean the Build file
make clean

Contact us

QQ Group

yoda-scheduler's People

Contributors

mr-linus avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.