deploy

package
v0.4.13-0rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployNROScheduler

func DeployNROScheduler() *nropv1.NUMAResourcesScheduler

Deploy a test NUMAResourcesScheduler and waits until its available or a timeout happens (5 min right now).

see: `TestNROScheduler` to see the specific object characteristics.

func TeardownDeployment

func TeardownDeployment(nrod NroDeployment, timeout time.Duration)

TODO: what if timeout < period?

func TeardownNROScheduler

func TeardownNROScheduler(nroSched *nropv1.NUMAResourcesScheduler, timeout time.Duration)

func WaitForMCPUpdatedAfterNROCreated

func WaitForMCPUpdatedAfterNROCreated(offset int, nroObj *nropv1.NUMAResourcesOperator)

func WaitForMCPUpdatedAfterNRODeleted

func WaitForMCPUpdatedAfterNRODeleted(offset int, nroObj *nropv1.NUMAResourcesOperator)

Types

type NroDeployment

type NroDeployment struct {
	McpObj *machineconfigv1.MachineConfigPool
	KcObj  *machineconfigv1.KubeletConfig
	NroObj *nropv1.NUMAResourcesOperator
}

func OverallDeployment

func OverallDeployment() NroDeployment

OverallDeployment returns a struct containing all the deployed objects, so it will be easier to introspect and delete them later.

Jump to

Keyboard shortcuts

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