prometheus

package
v3.0.0-...-d6c4d9c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMapReconciler

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

func RoleBindingReconciler

func RoleBindingReconciler(clusterNamespace string) reconciling.NamedRoleBindingReconcilerFactory

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

func RoleReconciler

func RoleReconciler() reconciling.NamedRoleReconcilerFactory

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

func ServiceAccountReconciler

func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory

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

func ServiceReconciler

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

func StatefulSetReconciler

StatefulSetReconciler returns the function to reconcile the Prometheus StatefulSet.

Types

type CustomizationData

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

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