project

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package project contains a controller responsible for removing all clusters in a project whenever a project is deleted, and (importantly) waiting until all clusters are gone before releasing the project.

Note that the project-synchronizer controller in the master-ctrl-mgr takes care of synchronizing the project deletion to all seeds (i.e. you delete a project on the master, the project-synchronizer controller then deletes the projects on all seeds, and then this controller cleans them up by deleting the clusters).

Index

Constants

View Source
const (
	ControllerName = "kkp-project-controller"

	// CleanupFinalizer is put on Projects to ensure all clusters
	// are deleted before a Project can be deleted.
	CleanupFinalizer = "kubermatic.k8c.io/cleanup-clusters"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, log *zap.SugaredLogger, workerCount int) error

Types

type Reconciler

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

func (*Reconciler) Reconcile

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

Jump to

Keyboard shortcuts

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