Skip to content

Plugin implements based on scheduler-framework, try to schedule group of pods to same node

Notifications You must be signed in to change notification settings

vincent-pli/coscheduler-same-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coscheduler-same-node

The repo is for trying to implements such a scheduler: tektoncd/pipeline#3052

Installation

make image
docker push
kubectl apply -f manifests/

Take a try

kubectl create -f manifests/sample/pods.yaml

Description

The scheduler is based on Scheduler plugin framework

Use special labels of pod to mark the group of pods.

labels:
     pod-group.scheduling.sigs.k8s.io/name: test
     pod-group.scheduling.sigs.k8s.io/total: "2"

The pods in same pod-group will be scheduler to same node if the node can satisfy the resource requirement of whole group.

About

Plugin implements based on scheduler-framework, try to schedule group of pods to same node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published