scheduler

module
v0.0.0-...-8ee384e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: Apache-2.0

README

coscheduler-same-node

The repo is for trying to implements such a scheduler: https://github.com/tektoncd/pipeline/issues/3052

Installation

ko apply -f config/

Take a try

kubectl create -f examples/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, or all pods in the group will pending.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL