cluster

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	// Scheme is the controller-runtime scheme used to initialize the controller manager and to validate the probe config
	Scheme *runtime.Scheme
	// ProberMgr is interface to manage lifecycle of probers.
	ProberMgr prober.Manager
	// ScaleGetter is used to produce a ScaleInterface
	ScaleGetter scale.ScalesGetter
	// DefaultProbeConfig is the seed level config inherited by all shoots whose control plane is hosted in the seed. The default config is used
	// when the shoot's spec.Kubernetes.KubeControllerManager.NodeMonitorGracePeriod is not set. If it is set, then a new config is generated from
	// the default config with the updated KCMNodeMonitorGraceDuration.
	DefaultProbeConfig *papi.Config
	// MaxConcurrentReconciles is the maximum number of concurrent Reconciles which can be run. Defaults to 1.
	MaxConcurrentReconciles int
}

Reconciler reconciles a Cluster object

func (*Reconciler) Reconcile

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

Reconcile listens to create/update/delete events for `Cluster` resources and manages probes for the shoot control namespace for these clusters by looking at the cluster state.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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