helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[loki-distributed] Add sidecar container for loki ruler to fetch AlertingRules from Configmaps/Secrets

Open mbec-printify opened this issue 5 months ago • 3 comments

PR Description

Already done in those 2 PRs for legacy repo & current loki Helm chart. I've migrated the above solution to the loki-distributed Helm chart and tested locally with prom-stack.


What this PR does:

PR adds a sidecar container to the Ruler deployment to fetch alerting rules defined in separate ConfigMaps and Secrets (based on k8s labels).

The goal of this update is to enable the creation of AlertingRules independently for other services deployments. With this setup, services can manage their own alerting rules in a self-contained manner, through individual ConfigMaps or Secrets, without directly interfacing with the primary ruler deployment.

Checklist

  • [x] DCO signed
  • [x] Version bumped
  • [x] Documentation added

mbec-printify avatar Jan 10 '24 17:01 mbec-printify

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 10 '24 17:01 CLAassistant

Hi guys, any news on this feature?

sebv004 avatar Mar 07 '24 14:03 sebv004

@zalegrala Can you help with this PR please?

zanhsieh avatar Mar 10 '24 05:03 zanhsieh