scheduler

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 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,
	schedulerNames []string,
	schedulerConf string,
	period time.Duration,
	defaultQueue string,
	nodeSelectors []string,
) (*Scheduler, error)

NewScheduler returns a scheduler

func (*Scheduler) Run

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

Run runs the Scheduler

Jump to

Keyboard shortcuts

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