Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertingRuleReconciler ¶
AlertingRuleReconciler reconciles a AlertingRule object
func (*AlertingRuleReconciler) Reconcile ¶
func (r *AlertingRuleReconciler) Reconcile(ctx context.Context, _ ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the AlertingRule object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*AlertingRuleReconciler) SetupWithManager ¶
func (r *AlertingRuleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CertRotationReconciler ¶
type CertRotationReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme FeatureGates configv1.FeatureGates }
CertRotationReconciler reconciles the `loki.grafana.com/certRotationRequiredAt` annotation on any LokiStack object associated with any of the owned signer/client/serving certificates secrets and CA bundle configmap.
func (*CertRotationReconciler) Reconcile ¶
func (r *CertRotationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Compare the state specified by the LokiStack object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile
func (*CertRotationReconciler) SetupWithManager ¶
func (r *CertRotationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DashboardsReconciler ¶ added in v0.5.0
type DashboardsReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger OperatorNs string }
DashboardsReconciler deploys and removes the cluster-global resources needed for the metrics dashboards depending on whether any LokiStacks exist.
func (*DashboardsReconciler) Reconcile ¶ added in v0.5.0
func (r *DashboardsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile creates all LokiStack dashboard ConfigMap and PrometheusRule objects on OpenShift clusters when the at least one LokiStack custom resource exists or removes all when none.
func (*DashboardsReconciler) SetupWithManager ¶ added in v0.5.0
func (r *DashboardsReconciler) SetupWithManager(mgr manager.Manager) error
SetupWithManager sets up the controller with the Manager to only call this controller on create/delete/generic events.
type LokiStackReconciler ¶
type LokiStackReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme FeatureGates configv1.FeatureGates AuthConfig *config.TokenCCOAuthConfig }
LokiStackReconciler reconciles a LokiStack object
func (*LokiStackReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Compare the state specified by the LokiStack object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.0/pkg/reconcile
func (*LokiStackReconciler) SetupWithManager ¶
func (r *LokiStackReconciler) SetupWithManager(mgr manager.Manager) error
SetupWithManager sets up the controller with the Manager.
type LokiStackZoneAwarePodReconciler ¶
LokiStackZoneAwarePodReconciler watches all the loki component pods and updates the pod annotations with the topology node labels.
func (*LokiStackZoneAwarePodReconciler) Reconcile ¶
func (r *LokiStackZoneAwarePodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*LokiStackZoneAwarePodReconciler) SetupWithManager ¶
func (r *LokiStackZoneAwarePodReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RecordingRuleReconciler ¶
RecordingRuleReconciler reconciles a RecordingRule object
func (*RecordingRuleReconciler) Reconcile ¶
func (r *RecordingRuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RecordingRule object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*RecordingRuleReconciler) SetupWithManager ¶
func (r *RecordingRuleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RulerConfigReconciler ¶
RulerConfigReconciler reconciles a RulerConfig object
func (*RulerConfigReconciler) Reconcile ¶
func (r *RulerConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*RulerConfigReconciler) SetupWithManager ¶
func (r *RulerConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.