scheduler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

Scheduler watches for new unscheduled pods for volcano. It attempts to find nodes that they fit on and writes bindings back to the api server.

func NewScheduler

func NewScheduler(
	config *rest.Config,
	schedulerName string,
	schedulerConf string,
	period time.Duration,
	defaultQueue string,
) (*Scheduler, error)

NewScheduler returns a scheduler

func (*Scheduler) Run

func (pc *Scheduler) Run(stopCh <-chan struct{})

Run runs the Scheduler

Directories

Path Synopsis
elect
Package elect is used to find the target job and reserve resource for it
Package elect is used to find the target job and reserve resource for it
api
drf

Jump to

Keyboard shortcuts

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