realtime

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodResourceInfo

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

type RealtimeOvercommitmentAdvisor

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

RealtimeOvercommitmentAdvisor calculate node CPU and memory overcommitment ratio by realtime metrics and node requested resources from metaSever

func NewRealtimeOvercommitmentAdvisor

func NewRealtimeOvercommitmentAdvisor(
	conf *config.Configuration,
	metaServer *metaserver.MetaServer,
	emitter metrics.MetricEmitter,
) *RealtimeOvercommitmentAdvisor

func (*RealtimeOvercommitmentAdvisor) GetOvercommitRatio

func (ra *RealtimeOvercommitmentAdvisor) GetOvercommitRatio() (map[v1.ResourceName]float64, error)

func (*RealtimeOvercommitmentAdvisor) Run

Jump to

Keyboard shortcuts

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