monitoring

package
v2.22.8 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package monitoring 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,
	seedGetter provider.SeedGetter,
	configGetter provider.KubermaticConfigurationGetter,
	overwriteRegistry string,
	nodeAccessNetwork string,
	dockerPullConfigJSON []byte,
	concurrentClusterUpdates int,

	features Features,
	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 added in v2.22.0

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

GetConfigMapReconcilers returns all ConfigMapReconcilers that are currently in use.

func GetDeploymentReconcilers added in v2.22.0

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

GetDeploymentReconcilers returns all DeploymentReconcilers that are currently in use.

func GetSecretReconcilerOperations added in v2.22.0

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

GetSecretReconcilerOperations returns all SecretReconcilers that are currently in use.

func GetServiceAccountReconcilers added in v2.22.0

func GetServiceAccountReconcilers() []reconciling.NamedServiceAccountReconcilerFactory

GetServiceReconcilers returns all service creators that are currently in use.

func GetServiceReconcilers added in v2.22.0

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

GetServiceReconcilers returns all service creators that are currently in use.

func GetStatefulSetReconcilers added in v2.22.0

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

GetStatefulSetReconcilers returns all StatefulSetReconcilers that are currently in use.

Types

type Features

type Features struct {
	VPA bool
}

Features describes the enabled features for the monitoring controller.

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