The RHOBS Loki manifests for stage and production rollout is currently based on custom JSONNet component hosted on the observatorium/observatorium repository. This component was created back in 2020 when the official Grafana loki-mixin for production deployments did not support by default memberlist/boltdb-shipper setups. Since 2021 this is the case and keeping our own loki component is cumbersome. In fact we need to implement all migrations for each Loki release.
Goals
- We want to evaluate replacing the loki.libsonnet code entirely with a wrapper that uses the loki-mixin via vendoring.
- We want to keep the current function-based evaluation interface of loki.libsonnet to minimize porting work in RHOBS.
- We want to keep the naming prefix observatorium-loki for all involved components.
- We want to evaluate dropping obsolete support (e.g. etcdEndpoints)
- We want to keep auxiliary components in loki.libsonnet if not supported upstream: ServiceMonitors
- split to
-
LOG-3900 Replace custom configmap generation with loki-mixin
- Closed
-
LOG-3901 Replace custom services generation with loki-mixin
- Closed
-
LOG-3902 Replace all custom CLI arguments with environment variables
- Closed
-
LOG-3903 Replace custom statefulsets generation with loki-mixin
- Closed
-
LOG-3904 Replace custom deployments generation with loki-mixin
- Closed