schedulerplugins

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0, BSD-2-Clause, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginName

func GetPluginName() string

Types

type KubeScheduler

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

func (*KubeScheduler) AddMetadataToPod

func (k *KubeScheduler) AddMetadataToPod(_ context.Context, app *rayv1.RayCluster, _ string, pod *corev1.Pod)

AddMetadataToPod adds essential labels and annotations to the Ray pods the scheduler needs these labels and annotations in order to do the scheduling properly

func (*KubeScheduler) DoBatchSchedulingOnSubmission

func (k *KubeScheduler) DoBatchSchedulingOnSubmission(ctx context.Context, app *rayv1.RayCluster) error

func (*KubeScheduler) Name

func (k *KubeScheduler) Name() string

type KubeSchedulerFactory

type KubeSchedulerFactory struct{}

func (*KubeSchedulerFactory) AddToScheme

func (kf *KubeSchedulerFactory) AddToScheme(sche *runtime.Scheme)

func (*KubeSchedulerFactory) ConfigureReconciler

func (kf *KubeSchedulerFactory) ConfigureReconciler(b *builder.Builder) *builder.Builder

func (*KubeSchedulerFactory) New

Jump to

Keyboard shortcuts

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