loadbalancerset

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const FINALIZER = "stackit.cloud/loadbalancermachine"

Variables

This section is empty.

Functions

This section is empty.

Types

type LBMStatusReconciler added in v0.19.0

type LBMStatusReconciler struct {
	client.Client
	WorkerCount int
	RateLimiter workqueue.TypedRateLimiter[reconcile.Request]

	DeletionGracePeriod time.Duration
}

LBMStatusReconciler watches LoadBalancerMachines and determines if a machine should be deleted. A machine should be deleted if its conditions are either stale, or have been in a not-healthy state for some time.

Deletion is not performed immediately, instead a new Condition is added, and after `DeletionGracePeriod` has passed (and the machine is still not ready), the object is actually deleted. This ensures that after an e.g. API Server (where both yawollet and the yawol-controllers cannot update the status), the yawollet is given a chance to update the heartbeat.

func (*LBMStatusReconciler) Reconcile added in v0.19.0

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

func (*LBMStatusReconciler) SetupWithManager added in v0.19.0

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

type LoadBalancerSetReconciler

type LoadBalancerSetReconciler struct {
	client.Client
	Log         logr.Logger
	Scheme      *runtime.Scheme
	Recorder    record.EventRecorder
	Metrics     *helpermetrics.LoadBalancerSetMetricList
	WorkerCount int
	RateLimiter workqueue.TypedRateLimiter[reconcile.Request]
}

LoadBalancerSetReconciler reconciles service Objects with type LoadBalancer

func (*LoadBalancerSetReconciler) Reconcile

+kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch

func (*LoadBalancerSetReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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