monitoring

package
v2.21.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: Apache-2.0 Imports: 28 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 GetConfigMapCreators

func GetConfigMapCreators(data *resources.TemplateData) []reconciling.NamedConfigMapCreatorGetter

GetConfigMapCreators returns all ConfigMapCreators that are currently in use.

func GetDeploymentCreators

func GetDeploymentCreators(data *resources.TemplateData) []reconciling.NamedDeploymentCreatorGetter

GetDeploymentCreators returns all DeploymentCreators that are currently in use.

func GetSecretCreatorOperations

func GetSecretCreatorOperations(data *resources.TemplateData) []reconciling.NamedSecretCreatorGetter

GetSecretCreatorOperations returns all SecretCreators that are currently in use.

func GetServiceAccountCreators

func GetServiceAccountCreators() []reconciling.NamedServiceAccountCreatorGetter

GetServiceCreators returns all service creators that are currently in use.

func GetServiceCreators

func GetServiceCreators(data *resources.TemplateData) []reconciling.NamedServiceCreatorGetter

GetServiceCreators returns all service creators that are currently in use.

func GetStatefulSetCreators

func GetStatefulSetCreators(data *resources.TemplateData) []reconciling.NamedStatefulSetCreatorGetter

GetStatefulSetCreators returns all StatefulSetCreators that are currently in use.

Types

type Features

type Features struct {
	VPA          bool
	Konnectivity 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