Documentation ¶
Overview ¶
Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( ctx context.Context, cmw configmap.Watcher, deciders resources.Deciders, metrics aresources.Metrics, psInformerFactory duck.InformerFactory, ) *controller.Impl
NewController returns a new HPA reconcile controller. TODO(mattmoor): Fix the signature to adhere to the injection type.
Types ¶
type Reconciler ¶
type Reconciler struct { *areconciler.Base // contains filtered or unexported fields }
Reconciler tracks PAs and right sizes the ScaleTargetRef based on the information from Deciders.
Click to show internal directories.
Click to hide internal directories.