prometheus

package
v2.25.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMapReconciler added in v2.22.0

ConfigMapReconciler returns a ConfigMapReconciler containing the prometheus config for the supplied data.

func RoleBindingReconciler added in v2.22.0

func RoleBindingReconciler(clusterNamespace string) reconciling.NamedRoleBindingReconcilerFactory

RoleBindingReconciler returns the func to create/update the RoleBinding for Prometheus.

func RoleReconciler added in v2.22.0

func RoleReconciler() reconciling.NamedRoleReconcilerFactory

RoleReconciler returns the func to create/update the role for Prometheus.

func ServiceAccountReconciler added in v2.22.0

func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory

ServiceAccountReconciler returns a func to create/update the ServiceAccount used by Prometheus.

func ServiceReconciler added in v2.22.0

ServiceReconciler returns the function to reconcile the prometheus service used for federation.

func StatefulSetReconciler added in v2.22.0

StatefulSetReconciler returns the function to reconcile the Prometheus StatefulSet.

Types

type CustomizationData added in v2.21.0

type CustomizationData struct {
	Cluster                  *kubermaticv1.Cluster
	APIServerHost            string
	EtcdTLS                  TLSConfig
	ApiserverTLS             TLSConfig
	ScrapingAnnotationPrefix string
}

CustomizationData is the data available to custom scraping configs and rules, containing everything required to scrape resources. This is a public interface and changes to this struct could break existing custom scrape/rule configs, so care must be taken when changing this.

type TLSConfig added in v2.21.0

type TLSConfig struct {
	CAFile   string `yaml:"ca_file"`
	CertFile string `yaml:"cert_file"`
	KeyFile  string `yaml:"key_file"`
}

Jump to

Keyboard shortcuts

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