Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "Monitoring"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { api.MissingFields PrometheusK8s struct { api.MissingFields Retention string `json:"retention,omitempty"` VolumeClaimTemplate *json.RawMessage `json:"volumeClaimTemplate,omitempty"` } `json:"prometheusK8s,omitempty"` AlertManagerMain struct { api.MissingFields VolumeClaimTemplate *json.RawMessage `json:"volumeClaimTemplate,omitempty"` } `json:"alertmanagerMain,omitempty"` }
Config represents cluster monitoring stack configuration. Reconciler reconciles retention and storage settings, MissingFields are used to preserve settings configured by user.
type MonitoringReconciler ¶
type MonitoringReconciler struct { base.AROController // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(log *logrus.Entry, client client.Client) *MonitoringReconciler
func (*MonitoringReconciler) SetupWithManager ¶
func (r *MonitoringReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager setup the manager
Click to show internal directories.
Click to hide internal directories.