prometheus

package
v2.21.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMapCreator

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

func RoleBindingCreator

func RoleBindingCreator(clusterNamespace string) reconciling.NamedRoleBindingCreatorGetter

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

func RoleCreator

func RoleCreator() reconciling.NamedRoleCreatorGetter

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

func ServiceAccountCreator

func ServiceAccountCreator() reconciling.NamedServiceAccountCreatorGetter

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

func ServiceCreator

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

func StatefulSetCreator

StatefulSetCreator 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