-
Epic
-
Resolution: Done
-
Normal
-
None
-
Loki - Stream-based Retention
-
False
-
None
-
False
-
Not Selected
-
NEW
-
Done
-
OBSDA-7 - Adopting Loki as an alternative to Elasticsearch to support more lightweight, easier to manage/operate storage scenarios
-
Impediment
-
OBSDA-7Adopting Loki as an alternative to Elasticsearch to support more lightweight, easier to manage/operate storage scenarios
-
VERIFIED
-
0% To Do, 0% In Progress, 100% Done
Goals
- Expose Loki's stream-based retention capabilities in the LokiStack custom resources for OpenShift Administrators.
- Expose Loki's stream-based retention capabilities in the LokiStack custom resource for OpenShift Application owners.
Non-Goals
- Enable managing object storage retention policies via Loki-Operator managed custom resources.
Motivation
The Loki Operator manages LokiStack resources that consists of a set of Loki components for ingestion/quering and optionally a gateway microservice that ensures authenticated and authorized access to logs stored by Loki. Retention in Loki has always been global for a cluster and deferred to the underlying object store. Since v2.3.0 Loki can handle retention through the Compactor component. Retention can be configured per tenant and per stream. These different retention configurations allow storage cost control and meet security and compliance requirements in a more granular way. A common use case for custom policies is to delete high-frequency logs earlier than other (low-frequency) logs.
Alternatives
- Continue with supporting retention policies only via the selected object storage provider.
Acceptance Criteria
- The OpenShift Admnistrator can enable the retention via the LokiStack custom resource.
- The OpenShift Administrator can declare per-tenant and global policies through the LokiStack custom resource ordered by priority.
Risk and Assumptions
- Assuming the OpenShift Administrators are the single eliglibable persona to configure stream-based retention polices for all application owners
- OpenShift Application owners can only delegate their retention policy requests w/o having access rights to edit the Lokistack custom resource.
Documentation Considerations
Open Questions
Additional Notes
- Enhancement Proposal (Upstream): Loki Operator Stream-based Retention
- is documented by
-
RHDEVDOCS-4426 Loki - Stream-based Retention
- Closed
- relates to
-
OBSDA-197 Extend Loki logs retention to at least 3 months
- To Do
- links to
- mentioned in
-
Page Loading...
1.
|
QE Tracker | Closed | Qiaoling Tang | ||
2.
|
Docs Tracker | Closed | Libby Anderson | ||
3.
|
PX Tracker | Closed | Senthamilarasu S | ||
4.
|
TE Tracker | Closed | Senthamilarasu S |