nodegroup

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName indicates name of volcano scheduler plugin.
	PluginName       = "nodegroup"
	NodeGroupNameKey = "volcano.sh/nodegroup-name"

	BaseScore = 100
)

Variables

This section is empty.

Functions

func GetPodQueue

func GetPodQueue(task *api.TaskInfo) string

There are 3 ways to assign pod to queue for now: scheduling.volcano.sh/queue-name support only annotation volcano.sh/queue-name support both labels & annotation the key should be unified, maybe volcano.sh/queue-name is better

func New

func New(arguments framework.Arguments) framework.Plugin

New function returns prioritize plugin object.

func NewQueueGroupAffinity

func NewQueueGroupAffinity() queueGroupAffinity

Types

This section is empty.

Jump to

Keyboard shortcuts

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