scheduler

package
v1.10.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSchedulerConf = `` /* 222-byte string literal not displayed */

Functions

func UnmarshalSchedulerConf added in v1.9.0

func UnmarshalSchedulerConf(confStr string) ([]framework.Action, []conf.Tier, []conf.Configuration, map[string]string, error)

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