Documentation ¶
Index ¶
- func ConfigMapCreator(data *resources.TemplateData) reconciling.NamedConfigMapCreatorGetter
- func RoleBindingCreator(clusterNamespace string) reconciling.NamedRoleBindingCreatorGetter
- func RoleCreator() reconciling.NamedRoleCreatorGetter
- func ServiceAccountCreator() reconciling.NamedServiceAccountCreatorGetter
- func ServiceCreator(data *resources.TemplateData) reconciling.NamedServiceCreatorGetter
- func StatefulSetCreator(data *resources.TemplateData) reconciling.NamedStatefulSetCreatorGetter
- type CustomizationData
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMapCreator ¶
func ConfigMapCreator(data *resources.TemplateData) reconciling.NamedConfigMapCreatorGetter
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 ¶
func ServiceCreator(data *resources.TemplateData) reconciling.NamedServiceCreatorGetter
ServiceCreator returns the function to reconcile the prometheus service used for federation.
func StatefulSetCreator ¶
func StatefulSetCreator(data *resources.TemplateData) reconciling.NamedStatefulSetCreatorGetter
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.