clusterstuckcontroller

package
v2.24.5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package clusterstuckcontroller contains a controller that is only useful during development. The controller will watch deleted Cluster objects and issue an event if the cluster still has a working name or is paused. Forgotten worker names are the most common reason of clusters seemingly stuck in deletion.

This controller is not started by default, only when the dev environment feature flag is set in the KubermaticConfiguration.

Index

Constants

View Source
const (
	ControllerName = "kkp-cluster-stuck-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, numWorkers int, workerName string, log *zap.SugaredLogger) error

Add creates a new cluster-stuck controller.

Types

type Reconciler

type Reconciler struct {
	ctrlruntimeclient.Client
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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