New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/Mr-Linus/Yoda-Scheduler

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Mr-Linus/Yoda-Scheduler

  • v0.0.0-20220327084617-536a4b024ef2
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

FAQs

Package last updated on 27 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc