registration

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// NodeClaimRegistrationFinalizer is added to NodeClaims to ensure proper cleanup
	NodeClaimRegistrationFinalizer = "registration.nodeclaim.ibm.sh/finalizer"

	// Labels for registered nodes
	RegisteredLabel  = "karpenter.sh/registered"
	InitializedLabel = "karpenter.sh/initialized"
	NodePoolLabel    = "karpenter.sh/nodepool"
	NodeClassLabel   = "karpenter-ibm.sh/ibmnodeclass"
	ProvisionerLabel = "provisioner"
	ProvisionedTaint = "karpenter-ibm.sh/provisioned"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller reconciles NodeClaim registration with corresponding Nodes +kubebuilder:rbac:groups=karpenter.sh,resources=nodeclaims,verbs=get;list;watch;update;patch +kubebuilder:rbac:groups="",resources=nodes,verbs=get;list;watch;update;patch +kubebuilder:rbac:groups=karpenter-ibm.sh,resources=ibmnodeclasses,verbs=get;list;watch

func NewController

func NewController(kubeClient client.Client) (*Controller, error)

NewController constructs a controller instance

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile executes a control loop for NodeClaim registration

func (*Controller) Register

func (c *Controller) Register(_ context.Context, m manager.Manager) error

Register registers the controller with the manager

Jump to

Keyboard shortcuts

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