nrosched

package
v0.4.12-0.2022110301 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NROSchedObjectName = "numaresourcesscheduler"

	// scheduler
	ReasonScheduled        = "Scheduled"
	ReasonFailedScheduling = "FailedScheduling"
	// kubelet
	ReasonTopologyAffinityError = "TopologyAffinityError"

	// scheduler
	ErrorCannotAlignPod       = "cannot align pod"
	ErrorCannotAlignContainer = "cannot align container"
	// kubeket
	ErrorTopologyAffinityError = "Resources cannot be allocated with Topology locality"
)

Variables

This section is empty.

Functions

func CheckNROSchedulerAvailable

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

func CheckPODKubeletRejectWithTopologyAffinityError

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

func CheckPODSchedulingFailed

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

func CheckPODSchedulingFailedForAlignment

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

func CheckPODWasScheduledWith

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

func GetNROSchedulerName

func GetNROSchedulerName(cli client.Client, NUMAResourcesSchedObjName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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