overcommitmentaware

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName = "overcommitment-aware-plugin"
)

Variables

This section is empty.

Functions

func NewOvercommitmentAwarePlugin

func NewOvercommitmentAwarePlugin(
	pluginName string, conf *config.Configuration,
	_ interface{},
	emitterPool metricspool.MetricsEmitterPool,
	metaServer *metaserver.MetaServer,
	_ metacache.MetaCache,
) (plugin.SysAdvisorPlugin, error)

Types

type OvercommitmentAwarePlugin

type OvercommitmentAwarePlugin struct {
	// contains filtered or unexported fields
}

OvercommitmentAwarePlugin calculates node overcommitment ratio, values will be reported to node KCNR annotations by the reporter.

func (*OvercommitmentAwarePlugin) Init

func (op *OvercommitmentAwarePlugin) Init() error

func (*OvercommitmentAwarePlugin) Name

func (op *OvercommitmentAwarePlugin) Name() string

func (*OvercommitmentAwarePlugin) Run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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