monitoringcontroller

package
v3.0.0-...-d6c4d9c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

package monitoringcontroller contains a controller that reconciles all monitoring-related components for all cluster types in the seed.

Index

Constants

View Source
const (
	ControllerName = "kkp-monitoring-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(
	mgr manager.Manager,
	log *zap.SugaredLogger,
	numWorkers int,
	workerName string,

	userClusterConnProvider userClusterConnectionProvider,
	configGetter provider.KubermaticConfigurationGetter,
	datacenterGetter provider.DatacenterGetter,
	overwriteRegistry string,
	nodeAccessNetwork string,
	dockerPullConfigJSON []byte,
	concurrentClusterUpdates int,

	versions kubermatic.Versions,
) error

Add creates a new Monitoring controller that is responsible for operating the monitoring components for all managed user clusters.

func GetConfigMapReconcilers

func GetConfigMapReconcilers(data *resources.TemplateData) []reconciling.NamedConfigMapReconcilerFactory

GetConfigMapReconcilers returns all ConfigMapReconcilers that are currently in use.

func GetDeploymentReconcilers

func GetDeploymentReconcilers(data *resources.TemplateData) []reconciling.NamedDeploymentReconcilerFactory

GetDeploymentReconcilers returns all DeploymentReconcilers that are currently in use.

func GetSecretReconcilerOperations

func GetSecretReconcilerOperations(data *resources.TemplateData) []reconciling.NamedSecretReconcilerFactory

GetSecretReconcilerOperations returns all SecretReconcilers that are currently in use.

func GetServiceAccountReconcilers

func GetServiceAccountReconcilers() []reconciling.NamedServiceAccountReconcilerFactory

GetServiceReconcilers returns all service creators that are currently in use.

func GetServiceReconcilers

func GetServiceReconcilers(data *resources.TemplateData) []reconciling.NamedServiceReconcilerFactory

GetServiceReconcilers returns all service creators that are currently in use.

func GetStatefulSetReconcilers

func GetStatefulSetReconcilers(data *resources.TemplateData) []reconciling.NamedStatefulSetReconcilerFactory

GetStatefulSetReconcilers returns all StatefulSetReconcilers that are currently in use.

Types

type Reconciler

type Reconciler struct {
	ctrlruntimeclient.Client
	// contains filtered or unexported fields
}

Reconciler stores all components required for monitoring.

func (*Reconciler) Reconcile

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

Jump to

Keyboard shortcuts

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