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 ¶
func (ra *RealtimeOvercommitmentAdvisor) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.