Do not set .spec.replicas for store-gateway if autoscaling is enabled #472
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
If a HorizontalPodAutoscaler (HPA) is in place, one must not explicitly set
.spec.replicas
on the corresponding workload (StatefulSet or Deployment). Failing to adhere to that rule can cause severe service outage as the workload is scaled down unexpectedly and then might crash as it immediately gets overloaded (RAM or CPU).In https://github.com/cortexproject/cortex-helm-chart/blob/master/templates/store-gateway/store-gateway-statefulset.yaml#L13
should actually be:
The text was updated successfully, but these errors were encountered: