 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	DefaultRequeueDuration = 10 * time.Second
)
    Functions ¶
Types ¶
type PodAutoscalerReconciler ¶
type PodAutoscalerReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	EventRecorder record.EventRecorder
	Mapper        apimeta.RESTMapper
	AutoscalerMap map[metrics.NamespaceNameMetric]scaler.Scaler // AutoscalerMap maps each NamespaceNameMetric to its corresponding scaler instance.
	RuntimeConfig config.RuntimeConfig
	// contains filtered or unexported fields
}
    PodAutoscalerReconciler reconciles a PodAutoscaler object
func (*PodAutoscalerReconciler) Reconcile ¶
func (r *PodAutoscalerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state as specified by the PodAutoscaler resource. It handles the creation, update, and deletion logic for HorizontalPodAutoscalers based on the PodAutoscaler specifications. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.3/pkg/reconcile
 Click to show internal directories. 
   Click to hide internal directories.