scheduler

package
v1.9.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 20 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 represents a "Volcano Scheduler". Scheduler watches for new unscheduled pods(PodGroup) in Volcano. It attempts to find nodes that can accommodate these pods and writes the binding information back to the API server.

func NewScheduler

func NewScheduler(config *rest.Config, opt *options.ServerOption) (*Scheduler, error)

NewScheduler returns a Scheduler

func (*Scheduler) Run

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

Run initializes and starts the Scheduler. It loads the configuration, initializes the cache, and begins the scheduling process.

Jump to

Keyboard shortcuts

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