Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCPURecommender ¶
func NewCPURecommender() algorithm.ResourceRecommender
NewCPURecommender construct CPURecommender
Types ¶
type ContainerStatistic ¶
type SimpleCPURecommender ¶
type SimpleCPURecommender struct{}
SimpleCPURecommender recommend cpu according avg load
func (*SimpleCPURecommender) GetRecommendedPodResources ¶
func (r *SimpleCPURecommender) GetRecommendedPodResources( spd *workload.ServiceProfileDescriptor, _ []*corev1.Pod, ) ([]apis.RecommendedPodResources, []apis.RecommendedContainerResources, error)
func (*SimpleCPURecommender) Name ¶
func (r *SimpleCPURecommender) Name() string
Click to show internal directories.
Click to hide internal directories.