seed

package
v1.71.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 107 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "seed"

ControllerName is the name of this controller.

Variables

View Source
var WaitUntilLoadBalancerIsReady = kubernetesutils.WaitUntilLoadBalancerIsReady

WaitUntilLoadBalancerIsReady is an alias for kubernetesutils.WaitUntilLoadBalancerIsReady. Exposed for tests.

Functions

func CleanupOldFluentBit added in v1.71.0

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

CleanupOldFluentBit deletes all old fluent-bit resources which are not installed by the fluent-operator.

func ResizeOrDeleteValiDataVolumeIfStorageNotTheSame added in v1.71.0

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

ResizeOrDeleteValiDataVolumeIfStorageNotTheSame updates the garden Vali 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