cortex-helm-chart
cortex-helm-chart copied to clipboard
Run rulers as a StatefulSet
We're using a sidecar to render and load rules for the ruler. On restart though the ruler would lose it's rules cache definitions until the sidecar grabs a new set of rules. Switching the rulers to run as a StatefulSet would mitigate this issue, are there any gotchas that mean we should run it as a Deployment rather than a StatefulSet?
We're using a sidecar to render and load rules for the ruler. On restart though the ruler would lose it's rules cache definitions until the sidecar grabs a new set of rules. Switching the rulers to run as a StatefulSet would mitigate this issue, are there any gotchas that mean we should run it as a Deployment rather than a StatefulSet?
No I don't think so. You would have to switch from the default empityDir volumes too
Ok we've been doing a bit of work to get this to work with our custom sidecars, it's working but there's some fun with permissions in the default /data/rules path. Will open a PR when it's stable.
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.