Documentation ¶
Index ¶
- func MakeRefreshCurrentSizeReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- func MakeRefreshSelectorReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- func MakeSubclusterResizeReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- func MakeSubclusterScaleReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- func MakeTargetSizeInitializerReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- func MakeVDBVerifyReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
- type RefreshCurrentSizeReconciler
- type RefreshSelectorReconciler
- type SubclusterResizeReconciler
- type SubclusterScaleReconciler
- type TargetSizeInitializerReconciler
- type VDBVerifyReconciler
- type VerticaAutoscalerReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRefreshCurrentSizeReconciler ¶
func MakeRefreshCurrentSizeReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
func MakeRefreshSelectorReconciler ¶
func MakeRefreshSelectorReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
func MakeSubclusterResizeReconciler ¶
func MakeSubclusterResizeReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
func MakeSubclusterScaleReconciler ¶
func MakeSubclusterScaleReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
func MakeTargetSizeInitializerReconciler ¶
func MakeTargetSizeInitializerReconciler(v *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
func MakeVDBVerifyReconciler ¶
func MakeVDBVerifyReconciler(r *VerticaAutoscalerReconciler, vas *vapi.VerticaAutoscaler) controllers.ReconcileActor
Types ¶
type RefreshCurrentSizeReconciler ¶
type RefreshCurrentSizeReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler }
RefreshCurrentSizeReconciler will refresh the currentSize status field in the CR.
type RefreshSelectorReconciler ¶
type RefreshSelectorReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler }
RefreshSelectorReconciler is a reconciler to update the pod selector in the status field
type SubclusterResizeReconciler ¶
type SubclusterResizeReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler Vdb *vapi.VerticaDB }
SubclusterResizeReconciler will grow/shrink existing subclusters based on the target pod count in the CR.
type SubclusterScaleReconciler ¶
type SubclusterScaleReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler Vdb *vapi.VerticaDB }
SubclusterScaleReconciler will scale a VerticaDB by adding or removing subclusters.
type TargetSizeInitializerReconciler ¶
type TargetSizeInitializerReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler }
type VDBVerifyReconciler ¶
type VDBVerifyReconciler struct { VRec *VerticaAutoscalerReconciler Vas *vapi.VerticaAutoscaler Vdb *vapi.VerticaDB }
VDBVerifyReconciler will verify the VerticaDB in the VAS CR exists
type VerticaAutoscalerReconciler ¶
type VerticaAutoscalerReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger EVRec record.EventRecorder }
VerticaAutoscalerReconciler reconciles a VerticaAutoscaler object
func (*VerticaAutoscalerReconciler) Reconcile ¶
func (r *VerticaAutoscalerReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*VerticaAutoscalerReconciler) SetupWithManager ¶
func (r *VerticaAutoscalerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.