lifecycle

package
v1.108.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ControllerName = "seed-lifecycle"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client         client.Client
	Config         config.SeedControllerConfiguration
	Clock          clock.Clock
	LeaseNamespace string
}

Reconciler reconciles Seeds and checks whether the responsible gardenlet is regularly sending heartbeats. If not, it sets the GardenletReady condition of the Seed to Unknown after some grace period passed. If the gardenlet still did not send heartbeats and another grace period passed then also all shoot conditions and constraints are set to Unknown.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

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

Reconcile reconciles Seeds and checks whether the responsible gardenlet is regularly sending heartbeats. If not, it sets the GardenletReady condition of the Seed to Unknown after some grace period passed. If the gardenlet still did not send heartbeats and another grace period passed then also all shoot conditions and constraints are set to Unknown.

Jump to

Keyboard shortcuts

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