Skip to content

ilievlad73/scheduler-framework-sample

 
 

Repository files navigation

scheduler-framework-sample

This repo is a sample for Kubernetes scheduler framework. The sample plugin implements filter and prebind extension points. And the custom scheduler name is scheduler-framework-sample which defines in KubeSchedulerConfiguration object.

Build

binary

$ make local

image

$ make image

Deploy

$ kubectl apply -f ./deploy/

Useful commands

$ kubectl logs $(kubectl get pods -A | grep scheduler-framework | awk -F ' ' '{print $2}') -n kube-system -f
$ kubectl get pods | awk -F ' ' '{print $1}' | tail -n +2 | xargs -n 1 kubectl logs

About

This repo is a sample for Kubernetes scheduler framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.5%
  • Makefile 5.4%
  • Dockerfile 1.4%
  • Shell 0.7%