controllers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package controllers wires the Clever Cloud specific controllers that run alongside the karpenter-core controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllers

func NewControllers(kubeClient client.Client, uncached client.Reader, recorder events.Recorder, nodeGroupProvider *nodegroup.Provider, instanceTypeProvider *instancetype.Provider, pricingController *pricing.Controller) []controller.Controller

NewControllers wires the Clever Cloud controllers. uncached reads straight from the API server (the GC confirms destructive decisions with it); pricingController is optional (nil when the dynamic price refresher is disabled).

Types

This section is empty.

Directories

Path Synopsis
Package garbagecollection deletes Karpenter-managed NodeGroups whose NodeClaim no longer exists.
Package garbagecollection deletes Karpenter-managed NodeGroups whose NodeClaim no longer exists.
Package instancetypecapacity feeds the real capacity of running Clever Cloud nodes back into the instance type catalog, so estimated entries (flavors not yet observed) self-correct as soon as a node of that flavor joins the cluster.
Package instancetypecapacity feeds the real capacity of running Clever Cloud nodes back into the instance type catalog, so estimated entries (flavors not yet observed) self-correct as soon as a node of that flavor joins the cluster.
Package nodeclass reconciles CleverNodeClass readiness and guards deletion: a NodeClass cannot disappear while NodeClaims still reference it.
Package nodeclass reconciles CleverNodeClass readiness and guards deletion: a NodeClass cannot disappear while NodeClaims still reference it.
Package pricing periodically refreshes the instance-type catalog from Clever Cloud's public price API.
Package pricing periodically refreshes the instance-type catalog from Clever Cloud's public price API.
Package providerid stamps Karpenter-managed worker nodes with a provider ID.
Package providerid stamps Karpenter-managed worker nodes with a provider ID.

Jump to

Keyboard shortcuts

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