ballast icon indicating copy to clipboard operation
ballast copied to clipboard

custom scheduler

Open coryodaniel opened this issue 6 years ago • 1 comments

Implement a custom scheduler in ballast.

This would watch for pods w/ the field selectors spec.schedulerName=ballast,spec.nodeName= then post Bindings between those pods and the optimal node.

This would allow specific workloads the ability to ditch affinity/taints/etc and let ballast put commodity workloads on the best node pool.

Ballast would need to get a list of nodes in a specific pool1 and then decide on the best node in the primary pool to bind to.

Notes:

  1. Done via k8s api or provider api?

Links

  • https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#binding-v1-core
  • https://banzaicloud.com/blog/k8s-custom-scheduler/

coryodaniel avatar Jun 06 '19 18:06 coryodaniel

Schedulers have been added to bonny master branch.

coryodaniel avatar Jul 26 '19 18:07 coryodaniel