tuned

package
v0.0.0-...-163236c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPstateParameter

func AddPstateParameter(ctx context.Context, node *corev1.Node) string

AddPstateParameter returns the correct intel_pstate based on hw generation

func CheckParameters

func CheckParameters(ctx context.Context, node *corev1.Node, sysctlMap map[string]string, kernelParameters []string, stalld, rtkernel bool)

func GetPod

func GetPod(ctx context.Context, node *corev1.Node) (*corev1.Pod, error)

func GetProfile

func GetProfile(ctx context.Context, cli client.Client, ns, name string) (*tunedv1.Profile, error)

func WaitForStalldTo

func WaitForStalldTo(ctx context.Context, run bool, interval, timeout time.Duration, node *corev1.Node) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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