Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceRecommendController ¶
type ResourceRecommendController struct {
// contains filtered or unexported fields
}
ResourceRecommendController is responsible to use in-tree algorithm implementations to export those recommended results to vpa-rec according to vpa config.
although we use informer index mechanism to speed up the looking efficiency, we can't assume that all function callers MUST use an indexed informer to look up objects.
func NewResourceRecommendController ¶
func NewResourceRecommendController(ctx context.Context, controlCtx *katalystbase.GenericContext, genericConf *generic.GenericConfiguration, _ *controller.GenericControllerConfiguration, config *controller.VPAConfig) (*ResourceRecommendController, error)
func (*ResourceRecommendController) Run ¶
func (rrc *ResourceRecommendController) Run()
type VPAController ¶
type VPAController struct {
// contains filtered or unexported fields
}
VPAController is responsible to update pod resources according to recommended results in vpa status.
although we use informer index mechanism to speed up the looking efficiency, we can't assume that all function callers MUST use an indexed informer to look up objects.
func NewVPAController ¶
func NewVPAController(ctx context.Context, controlCtx *katalyst_base.GenericContext, genericConf *generic.GenericConfiguration, _ *controller.GenericControllerConfiguration, vpaConf *controller.VPAConfig) (*VPAController, error)
func (*VPAController) Run ¶
func (vc *VPAController) Run()
type VerticalPodAutoScaleRecommendationController ¶
type VerticalPodAutoScaleRecommendationController struct {
// contains filtered or unexported fields
}
VerticalPodAutoScaleRecommendationController is responsible to sync the recommendation results in vpa-rec CR to vpa CR.
although we use informer index mechanism to speed up the looking efficiency, we can't assume that all function callers MUST use an indexed informer to look up objects.
func NewVPARecommendationController ¶
func NewVPARecommendationController(ctx context.Context, controlCtx *katalystbase.GenericContext, genericConf *generic.GenericConfiguration, _ *controller.GenericControllerConfiguration, conf *controller.VPAConfig, ) (*VerticalPodAutoScaleRecommendationController, error)
func (*VerticalPodAutoScaleRecommendationController) Run ¶
func (rec *VerticalPodAutoScaleRecommendationController) Run()