Documentation ¶
Index ¶
- func DefineQoSTestPod(namespace, nodeName, cpuReq, cpuLimit, memReq, memLimit string) (*pod.Builder, error)
- func GetPerformanceProfileWithCPUSet() (*nto.Builder, error)
- func SetCPUFreq(perfProfile *nto.Builder, desiredIsolatedCoreFreq *performancev2.CPUfrequency, ...) error
- func SetPowerModeAndWaitForMcpUpdate(perfProfile *nto.Builder, node nodes.Builder, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineQoSTestPod ¶
func DefineQoSTestPod(namespace, nodeName, cpuReq, cpuLimit, memReq, memLimit string) (*pod.Builder, error)
DefineQoSTestPod defines test pod with given cpu and memory resources.
func GetPerformanceProfileWithCPUSet ¶
GetPerformanceProfileWithCPUSet returns the first performance profile found with reserved and isolated cpuset.
func SetCPUFreq ¶
func SetCPUFreq( perfProfile *nto.Builder, desiredIsolatedCoreFreq *performancev2.CPUfrequency, desiredReservedCoreFreq *performancev2.CPUfrequency) error
SetCPUFreq updates the performance profile with the given isolated and reserved core frequencies and verifies that the frequencies have been updated on the spoke cluster.
func SetPowerModeAndWaitForMcpUpdate ¶
func SetPowerModeAndWaitForMcpUpdate( perfProfile *nto.Builder, node nodes.Builder, perPodPowerManagement, highPowerConsumption, realTime bool) error
SetPowerModeAndWaitForMcpUpdate updates the performance profile with the given workload hints, and waits for the mcp update.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.