Skip to content

zzr93/tiny-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-scheduler

a simple and tiny scheduler for learning scheduling algorithm.

How to start

first you need a k8s cluster, with its kubeconfig placed at ~/.kube/config. I use minikube for testing.

go run tiny-scheduler.go -alsologtostderr=true

How to test

kubectl apply -f test/tiny-pod.yaml

then you will see something like this:

I0106 23:07:24.375661   71650 scheduler.go:105] Scheduled podInfo tiny-pod to node minikube

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages