Skip to content

Commit

Permalink
Replicas control in store gateway (#480)
Browse files Browse the repository at this point in the history
* feat: control replicas of store-gateway

Signed-off-by: Husni Alhamdani <[email protected]>

* docs: update CHANGELOG.md

Signed-off-by: Husni Alhamdani <[email protected]>

---------

Signed-off-by: Husni Alhamdani <[email protected]>
  • Loading branch information
husnialhamdani authored Sep 6, 2023
1 parent 391f65e commit 57cbc30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## master / unreleased

* [ENHANCEMENT] Add option to autoscale on multiple metrics and custom metrics metrics #467
* [ENHANCEMENT] Add control on store-gateway statefulset when autoscale (HPA) enabled or disabled #472
* [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.15.0 #453
* [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.15.1 #456
* [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.15.2 #459
Expand Down
2 changes: 2 additions & 0 deletions templates/store-gateway/store-gateway-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ metadata:
annotations:
{{- toYaml .Values.store_gateway.annotations | nindent 4 }}
spec:
{{- if not .Values.store_gateway.autoscaling.enabled }}
replicas: {{ .Values.store_gateway.replicas }}
{{- end }}
selector:
matchLabels:
{{- include "cortex.storeGatewaySelectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 57cbc30

Please sign in to comment.