Documentation ¶
Index ¶
- Constants
- func CentralPrometheusRules(isWorkerless, wantsAlertmanager bool) []*monitoringv1.PrometheusRule
- func CentralScrapeConfigs(namespace, clusterCASecretName string, isWorkerless bool) []*monitoringv1alpha1.ScrapeConfig
- func CentralServiceMonitors(wantsAlertmanager bool) []*monitoringv1.ServiceMonitor
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.
Click to show internal directories.
Click to hide internal directories.