coscheduling

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "CoScheduling"

Variables

View Source
var (
	ErrorCanNotSetupTrainingRuntimeRuntimeClassIndexer        = errors.New("setting index on runtimeClass for TrainingRuntime")
	ErrorCanNotSetupClusterTrainingRuntimeRuntimeClassIndexer = errors.New("setting index on runtimeClass for ClusterTrainingRuntime")
)
View Source
var (
	TrainingRuntimeContainerRuntimeClassKey        = ".trainingRuntimeSpec.jobSetTemplateSpec.replicatedJobs.podTemplateSpec.runtimeClassName"
	ClusterTrainingRuntimeContainerRuntimeClassKey = ".clusterTrainingRuntimeSpec.jobSetTemplateSpec.replicatedJobs.podTemplateSpec.runtimeClassName"
)

Functions

func IndexClusterTrainingRuntimeContainerRuntimeClass

func IndexClusterTrainingRuntimeContainerRuntimeClass(obj client.Object) []string

func IndexTrainingRuntimeContainerRuntimeClass

func IndexTrainingRuntimeContainerRuntimeClass(obj client.Object) []string

func New

Types

type CoScheduling

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

func (*CoScheduling) Build

func (c *CoScheduling) Build(ctx context.Context, _ client.Object, info *runtime.Info, trainJob *kubeflowv2.TrainJob) (client.Object, error)

func (*CoScheduling) EnforcePodGroupPolicy

func (c *CoScheduling) EnforcePodGroupPolicy(info *runtime.Info, trainJob *kubeflowv2.TrainJob) error

func (*CoScheduling) Name

func (c *CoScheduling) Name() string

func (*CoScheduling) ReconcilerBuilders

func (c *CoScheduling) ReconcilerBuilders() []runtime.ReconcilerBuilder

type PodGroupLimitRangeHandler

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

type PodGroupRuntimeClassHandler

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

Jump to

Keyboard shortcuts

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