monitoring

package
v0.1.88 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileKubeAPIServerServiceMonitor

func ReconcileKubeAPIServerServiceMonitor(serviceMonitor *prometheusoperatorv1.ServiceMonitor) error

func ReconcileMetricsForwarderConfigMap added in v0.1.76

func ReconcileMetricsForwarderConfigMap(cm *corev1.ConfigMap, routeHost string) error

ReconcileMetricsForwarderConfigMap builds the HAProxy configuration for TCP passthrough mode. HAProxy is opaque to TLS — the TLS ClientHello (including SNI) passes through transparently to the metrics-proxy.

func ReconcileMetricsForwarderDeployment added in v0.1.76

func ReconcileMetricsForwarderDeployment(deployment *appsv1.Deployment, haproxyImage string, configHash string) error

func ReconcileMetricsForwarderPodMonitor added in v0.1.76

func ReconcileMetricsForwarderPodMonitor(podMonitor *prometheusoperatorv1.PodMonitor, componentNames []string, routeHost string) error

ReconcileMetricsForwarderPodMonitor builds a PodMonitor with one endpoint per control-plane component. It uses the tls-client-certificate-auth scrape class so CMO automatically injects the client cert from metrics-client-certs. The per-endpoint CA override references the metrics-proxy-serving-ca ConfigMap, which takes precedence over the scrape class's caFile (service-serving CA).

func ReconcileMetricsForwarderServingCA added in v0.1.76

func ReconcileMetricsForwarderServingCA(cm *corev1.ConfigMap, caCert []byte) error

ReconcileMetricsForwarderServingCA syncs the metrics-proxy serving CA into a ConfigMap in the guest cluster. Prometheus uses this CA to verify the metrics-proxy's TLS certificate through the TCP passthrough proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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