Documentation ¶
Index ¶
Constants ¶
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.