garden

package
v1.105.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label is a constant for the label of the garden prometheus instance.
	Label = "garden"
	// ServiceAccountName is the name of the service account in the virtual garden cluster.
	ServiceAccountName = "prometheus-" + Label
	// AccessSecretName is the name of the secret containing a token for accessing the virtual garden cluster.
	AccessSecretName = gardenerutils.SecretNamePrefixShootAccess + ServiceAccountName
)

Variables

This section is empty.

Functions

func AdditionalScrapeConfigs

func AdditionalScrapeConfigs() []string

AdditionalScrapeConfigs returns the additional scrape configs for the garden prometheus.

func CentralPrometheusRules

func CentralPrometheusRules(isGardenerDiscoveryServerEnabled bool) []*monitoringv1.PrometheusRule

CentralPrometheusRules returns the central PrometheusRule resources for the garden prometheus.

func CentralScrapeConfigs

func CentralScrapeConfigs(prometheusAggregateTargets []monitoringv1alpha1.Target, globalMonitoringSecret *corev1.Secret) []*monitoringv1alpha1.ScrapeConfig

CentralScrapeConfigs returns the central ScrapeConfig resources for the garden prometheus.

func CentralServiceMonitors

func CentralServiceMonitors() []*monitoringv1.ServiceMonitor

CentralServiceMonitors returns the central ServiceMonitor resources for the garden prometheus.

Types

This section is empty.

Jump to

Keyboard shortcuts

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