autoscaling

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HorizontalPortraitControllerName = "horizontal_portrait_controller"
)
View Source
const (
	IHPAControllerName = "ihpa_controller"
)
View Source
const (
	ReplicaProfileControllerName = "replica_profile_controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HorizontalPortraitReconciler

type HorizontalPortraitReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	record.EventRecorder
	EventTrigger chan event.GenericEvent

	PortraitGenerators map[autoscalingv1alpha1.PortraitType]portraitgenerator.Interface

	ExternalAlgorithmJobControllers    map[autoscalingv1alpha1.PortraitAlgorithmJobType]jobcontroller.Horizontal
	ExternalAlgorithmJobResultFetchers map[autoscalingv1alpha1.PortraitAlgorithmResultSourceType]resultfetcher.Horizontal
	// contains filtered or unexported fields
}

HorizontalPortraitReconciler reconciles a HorizontalPortrait object.

func (*HorizontalPortraitReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*HorizontalPortraitReconciler) SetupWithManager

func (r *HorizontalPortraitReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type IntelligentHorizontalPodAutoscalerReconciler

type IntelligentHorizontalPodAutoscalerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	record.EventRecorder
	EventTrigger chan event.GenericEvent

	PortraitProviders map[autoscalingv1alpha1.HorizontalPortraitProviderType]portraitprovider.Horizontal
	// contains filtered or unexported fields
}

IntelligentHorizontalPodAutoscalerReconciler reconciles a IntelligentHorizontalPodAutoscaler object.

func (*IntelligentHorizontalPodAutoscalerReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*IntelligentHorizontalPodAutoscalerReconciler) SetupWithManager

SetupWithManager sets up the controller with the Manager.

type ReplicaProfileReconciler

type ReplicaProfileReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	record.EventRecorder
	*pkgscale.Scaler
	// contains filtered or unexported fields
}

ReplicaProfileReconciler reconciles a ReplicaProfile object.

func (*ReplicaProfileReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ReplicaProfileReconciler) SetupWithManager

func (r *ReplicaProfileReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL