prometheus

package
v0.0.0-...-09479ac Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPrometheusTLSEnabled

func IsPrometheusTLSEnabled(cr *v1alpha1.PlatformMonitoring) bool

Types

type PrometheusReconciler

type PrometheusReconciler struct {
	*utils.ComponentReconciler
}

PrometheusReconciler provides methods to reconcile Prometheus

func NewPrometheusReconciler

func NewPrometheusReconciler(c client.Client, s *runtime.Scheme, dc discovery.DiscoveryInterface) *PrometheusReconciler

NewPrometheusReconciler creates an instance of PrometheusReconciler

func (*PrometheusReconciler) Run

Run reconciles prometheus-operator. Creates new deployment, service, service account, cluster role and cluster role binding if its don't exists. Updates deployment and service in case of any changes. Returns true if need to requeue, false otherwise.

Jump to

Keyboard shortcuts

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