shoot

package
v1.95.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CentralPrometheusRules

func CentralPrometheusRules(isWorkerless, wantsAlertmanager bool) []*monitoringv1.PrometheusRule

CentralPrometheusRules returns the central PrometheusRule resources for the shoot prometheus.

func CentralScrapeConfigs

func CentralScrapeConfigs(namespace, clusterCASecretName string, isWorkerless bool) []*monitoringv1alpha1.ScrapeConfig

CentralScrapeConfigs returns the central ScrapeConfig resources for the shoot prometheus.

func CentralServiceMonitors

func CentralServiceMonitors(wantsAlertmanager bool) []*monitoringv1.ServiceMonitor

CentralServiceMonitors returns the central ServiceMonitor resources for the shoot prometheus.

Types

This section is empty.

Jump to

Keyboard shortcuts

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