• Stars
    star
    141
  • Rank 259,971 (Top 6 %)
  • Language
    Go
  • Created almost 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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/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

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

Contact us

QQ Group

More Repositories

1

login-shell

SSH登陆显示脚本
Shell
169
star
2

DCMP

Docker Container Management Platform(Dashboard UI)
JavaScript
45
star
3

SCV

SCV is a distributed cluster GPU sniffer. SCV是一个分布式GPU嗅探器
Go
21
star
4

image-pull

基于 gRPC/Python3 开发,用于拉取 k8s.gcr.io、 quay.io等境外仓库中的容器镜像工具
Go
14
star
5

k8s-mirrors

基于Travis CI 镜像k8s镜像的解决方案
Shell
14
star
6

whistle

Python开发 Django框架 聊天室
JavaScript
14
star
7

docker-compose-example

docker-compose sample
Dockerfile
13
star
8

Watcher

社区开发的安全工具集
Python
13
star
9

NodeSimulator

NodeSimulator can simulate the node resources and state in kubernetes and simulate the state of pod.
Go
11
star
10

ns3

ns3 安装脚本与Docker镜像搭建
Dockerfile
11
star
11

Tower

A Machine Learning Task Management Platform Based on Kubernetes.
JavaScript
10
star
12

install-frp-py

基于Python的FRP安装脚本
Python
7
star
13

k8s-example

Example of K8S deployment K8S 部署服务样例
Shell
6
star
14

donkey

a simple container runtime. 一个简单的用go实现的容器引擎
Go
5
star
15

Mandalorian

Mandalorian is a scheduler scaffold based on kubernetes code v1.20.
Go
5
star
16

web-app

Web conversion to Android applications
Java
4
star
17

pylib

pylib是一个用python编写的用于获取传感器芯片、硬件、服务、操作系统信息的库
Python
4
star
18

scheduling-framework-example

This is a kubernetes scheduling-framework example. It builds in kubernetes v1.20.0.
Go
3
star
19

Deep-in-go

阅读地址 http://deepingo.run-linux.com/
CSS
3
star
20

kernel

C
3
star
21

Dockerfiles

此项目用于存放 TensorFlow/Pytorch 容器化构建的 dockerfile 文件
2
star
22

Breakfast

Breakfast is a kubernetes custom resource operator which manages the life cycle of running Machine Learning pods through custom controllers.
Go
2
star
23

shell-repo

个人编写的shell脚本仓库
Python
2
star
24

FRP-ClientBash

Linux安装FRP客户端脚本
Shell
1
star