networkpool

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionCapacityWarning   = "CapacityWarning"
	ConditionCapacityCritical  = "CapacityCritical"
	ConditionCapacityExhausted = "CapacityExhausted"
)

Capacity condition types. These are set on NetworkPool.Status.Conditions to surface utilization state to integrations (kubectl, ArgoCD, Flux, etc.). Intended for promotion to butler-api once the thresholds are validated.

View Source
const (
	// SourceMetalLB identifies IPs consumed by MetalLB LoadBalancer Services.
	SourceMetalLB = "metallb"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraAllocationReconciler added in v0.24.0

type InfraAllocationReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

InfraAllocationReconciler discovers reserved IP usage by management-cluster LoadBalancer Services and writes InfrastructureAllocations to NetworkPool status.

func (*InfraAllocationReconciler) Reconcile added in v0.24.0

func (*InfraAllocationReconciler) SetupWithManager added in v0.24.0

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

SetupWithManager registers the controller with the manager.

type Reconciler

type Reconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

Reconciler reconciles a NetworkPool object. It is the sole allocator -- it processes Pending IPAllocations.

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) 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