seed

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 105 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "seed"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

func CleanupLegacyLokiPriorityClass added in v1.64.0

func CleanupLegacyLokiPriorityClass(ctx context.Context, seedClient client.Client) error

CleanupLegacyLokiPriorityClass deletes the loki priority class.

func ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame

func ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame(ctx context.Context, log logr.Logger, k8sClient client.Client, newStorageQuantity resource.Quantity) error

ResizeOrDeleteLokiDataVolumeIfStorageNotTheSame updates the garden Loki PVC if passed storage value is not the same as the current one. Caution: If the passed storage capacity is less than the current one the existing PVC and its PV will be deleted.

Types

type Reconciler

type Reconciler struct {
	GardenClient                         client.Client
	SeedClientSet                        kubernetes.Interface
	Config                               config.GardenletConfiguration
	Clock                                clock.Clock
	Recorder                             record.EventRecorder
	Identity                             *gardencorev1beta1.Gardener
	ImageVector                          imagevector.ImageVector
	ComponentImageVectors                imagevector.ComponentImageVectors
	ClientCertificateExpirationTimestamp *metav1.Time
	GardenNamespace                      string
	ChartsPath                           string
}

Reconciler reconciles Seed resources and provisions or de-provisions the seed system components.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, gardenCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

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

Reconcile reconciles Seed resources and provisions or de-provisions the seed system components.

Jump to

Keyboard shortcuts

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