nrosched

package
v0.4.10-1rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: fetch this from NRO scheduler status
	NROSchedulerName   = "topo-aware-scheduler"
	NROSchedObjectName = "numaresourcesscheduler"

	ReasonScheduled        = "Scheduled"
	ReasonFailedScheduling = "FailedScheduling"

	ErrorCannotAlignPod = "cannot align pod"
)

Variables

This section is empty.

Functions

func CheckNROSchedulerAvailable

func CheckNROSchedulerAvailable(cli client.Client, nroSchedName string) *nropv1alpha1.NUMAResourcesScheduler

func CheckPODSchedulingFailed

func CheckPODSchedulingFailed(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)

func CheckPODSchedulingFailedForAlignment

func CheckPODSchedulingFailedForAlignment(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)

func CheckPODWasScheduledWith

func CheckPODWasScheduledWith(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)

func IsSchedulingErrorCannotAlign

func IsSchedulingErrorCannotAlign(msg string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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