enforceclusterautoscalerlimits

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package enforceclusterautoscalerlimits provides a controller that enforces Cluster Autoscaler limits on MachineDeployments.

+kubebuilder:rbac:groups=cluster.x-k8s.io,resources=machinedeployments,verbs=get;list;watch;update;patch

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Enabled     bool
	Concurrency int
}

func (*Options) AddFlags

func (o *Options) AddFlags(flags *pflag.FlagSet)

type Reconciler

type Reconciler struct {
	client.Client
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(
	mgr ctrl.Manager,
	options *controller.Options,
) error

Jump to

Keyboard shortcuts

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