Implementing a Scheduler Framework Plugin

Learn how to implement a Kubernetes scheduler framework plugin.

Implement a scheduler framework plugin

Both the kube-scheduler and scheduler framework have been written in Go. Therefore, if we want to have our own scheduling plugins, we need to implement them with Go as well.

The Kubernetes community does have a repository scheduler-plugins that contains out-of-tree scheduler plugins based on the scheduler framework. These high-quality scheduler plugins are exercised in large companies. They are good examples to follow and use in our production environments. If we’re creating our scheduler plugins, we can just fork this repo and build on top of it.

In this lesson, we will create an empty repository for a better demonstration.

Now, let’s start to implement our custom scheduler plugin.

Get hands-on with 1400+ tech skills courses.