cpuheadroom

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUHeadroomConfiguration

type CPUHeadroomConfiguration struct {
	*CPUUtilBasedConfiguration
}

func NewCPUHeadroomConfiguration

func NewCPUHeadroomConfiguration() *CPUHeadroomConfiguration

func (*CPUHeadroomConfiguration) ApplyConfiguration

func (c *CPUHeadroomConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

type CPUUtilBasedConfiguration

type CPUUtilBasedConfiguration struct {
	Enable                         bool
	TargetReclaimedCoreUtilization float64
	MaxReclaimedCoreUtilization    float64
	MaxOversoldRate                float64
	MaxHeadroomCapacityRate        float64
}

func NewCPUUtilBasedConfiguration

func NewCPUUtilBasedConfiguration() *CPUUtilBasedConfiguration

func (*CPUUtilBasedConfiguration) ApplyConfiguration

func (c *CPUUtilBasedConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

Jump to

Keyboard shortcuts

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