nonnativeresource

package
v0.0.0-...-dcfb068 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MonopolizedPodFailed                = "node topology not satisfy socket pod requests"
	SharedCoresPodFailed                = "node topology not satisfy shared qos pod requests"
	NonExclusiveDedicatedCoresPodFailed = "node topology not satisfy non-exclusive dedicated cores pod requests"
	ExclusiveDedicatedCoresPodFailed    = "node topology not satisfy exclusive dedicated cores pod requests"
)

Variables

This section is empty.

Functions

func CheckNonNativeTopology

func CheckNonNativeTopology(
	pod *v1.Pod,
	resourcesRequests map[string]*resource.Quantity,
	nodeInfo framework.NodeInfo,
	podLister listerv1.PodLister,
	podAllocations map[int]*v1.ResourceList,
) *framework.Status

func FeasibleNonNativeTopology

func FeasibleNonNativeTopology(pod *v1.Pod,
	resourceType podutil.PodResourceType,
	resourcesRequests map[string]*resource.Quantity,
	nodeInfo framework.NodeInfo,
	podLister listerv1.PodLister,
) *framework.Status

func FitsNonNativeTopology

func FitsNonNativeTopology(
	pod *v1.Pod,
	resourcesRequests map[string]*resource.Quantity,
	nodeInfo framework.NodeInfo,
	podLister listerv1.PodLister,
) *framework.Status

Types

This section is empty.

Jump to

Keyboard shortcuts

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