Version: v2.14.13+incompatible Latest Latest

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 28 Imported by: 18



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



View Source
const (
	ControllerName = "kubermatic_monitoring_controller"


This section is empty.


func Add

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

	userClusterConnProvider userClusterConnectionProvider,
	seedGetter provider.SeedGetter,
	overwriteRegistry string,
	nodePortRange string,
	nodeAccessNetwork string,
	monitoringScrapeAnnotationPrefix string,
	inClusterPrometheusRulesFile string,
	inClusterPrometheusDisableDefaultRules bool,
	inClusterPrometheusDisableDefaultScrapingConfigs bool,
	inClusterPrometheusScrapingConfigsFile string,
	dockerPullConfigJSON []byte,
	concurrentClusterUpdates int,

	features Features,
) 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


type Features

type Features struct {
	VPA bool

Features describes the enabled features for the monitoring controller

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields

Reconciler stores all components required for monitoring

func (*Reconciler) Reconcile

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

Jump to

Keyboard shortcuts

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