Documentation ¶
Index ¶
- func ConfigMapReconciler(data *resources.TemplateData) reconciling.NamedConfigMapReconcilerFactory
- func RoleBindingReconciler(clusterNamespace string) reconciling.NamedRoleBindingReconcilerFactory
- func RoleReconciler() reconciling.NamedRoleReconcilerFactory
- func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory
- func ServiceReconciler(data *resources.TemplateData) reconciling.NamedServiceReconcilerFactory
- func StatefulSetReconciler(data *resources.TemplateData) reconciling.NamedStatefulSetReconcilerFactory
- type CustomizationData
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMapReconciler ¶ added in v2.22.0
func ConfigMapReconciler(data *resources.TemplateData) reconciling.NamedConfigMapReconcilerFactory
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
func ServiceReconciler(data *resources.TemplateData) reconciling.NamedServiceReconcilerFactory
ServiceReconciler returns the function to reconcile the prometheus service used for federation.
func StatefulSetReconciler ¶ added in v2.22.0
func StatefulSetReconciler(data *resources.TemplateData) reconciling.NamedStatefulSetReconcilerFactory
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.