grafana/mimir

Jsonnet: Simplify ruler deployment for local storage by deploying a ConfigMap for rules

Open

#2,217 opened on Jun 24, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (808 forks)auto 404
good first issuejsonnet

Repository metrics

Stars
 (5,181 stars)
PR merge metrics
 (PR metrics pending)

Description

The ruler jsonnet supports setting local storage mode, but requires the user to do the rest of the plumbing to make this work, i.e. making the file available on every pod.

To make the ruler trivial to deploy using jsonnet for a newcomer, the local mode should (either by default, or as an option) also deploy a ConfigMap so that the contents of the rules file can be changed from the jsonnet.

Contributor guide