prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
5.04k stars 5k forks source link

[prometheus] Unclear implications around running as a StatefulSet #4890

Open SeanKilleen opened 1 week ago

SeanKilleen commented 1 week ago

Using a blank issue because it doesn't rise to the level of a bug but is something that a PR could fix and that I'd be happy to contribute back once I understand the approach.

Challenge

It is unclear to an end user (or at least a less intimately familiar end user) what the implications are around running this chart with 2+ replicas as a StatefulSet.

The replicas both spin up their own PVCs of equal size unless a pre-created PVC is specified.

Questions naturally arising from this:

Suggestion

Once these implications are understood here, I can update the values.yaml etc. to reflect the shared understanding via a PR and close this out.

Impact

I think this will make it easier for folks newer to Prometheus who want to build a little resiliency and are looking to understand the default behavior.

rouke-broersma commented 4 days ago