Skip to content

About

This repo is a sample for Kubernetes scheduler framework.

Topics

Resources

Stars

47 stars

Watchers

2 watching

Forks

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/

Usage

To schedule a pod with the custom scheduler, set the schedulerName field in the pod spec to scheduler-framework-sample. An example is provided in config/busybox.yaml:

$ kubectl apply -f ./config/busybox.yaml

About

This repo is a sample for Kubernetes scheduler framework.

Topics

Resources

Stars

47 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages