Skip to content

Commit 2b55428

Browse files
authored
Fix restarting query-schedulers when config changes (#559)
* Fix restarting query-schedulers when config changes Signed-off-by: Friedrich Gonzalez <[email protected]> * include PR in changelog Signed-off-by: Friedrich Gonzalez <[email protected]> --------- Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent ae81454 commit 2b55428

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
* [CHANGE] Change default config: distributors, rulers, queriers, query-frontend, nginx and compactors can be disrupted until 30%
77
* [CHANGE] Remove startup probes from compactors from default values. It's not recommended in general #542
88
* [CHANGE] Use default value for num_tokens in ingester configuration #544
9-
* [DEPENDENCY] Update kiwigrid/k8s-sidecar docker tag to v1.30.5 #531
109
* [BUGFIX] Fix discovering memcached instances #551
10+
* [BUGFIX] Fix restarting query-schedulers when config changes #559
1111
* [ENHANCEMENT] Run overrides-exporter with high availability #557
12+
* [DEPENDENCY] Update kiwigrid/k8s-sidecar docker tag to v1.30.5 #531
1213

1314
## 2.6.0 / 2025-05-07
1415

templates/query-scheduler/query-scheduler-dep.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ spec:
2323
{{- toYaml . | nindent 8 }}
2424
{{- end }}
2525
annotations:
26-
{{- if .Values.useExternalConfig }}
27-
checksum/config: {{ .Values.externalConfigVersion }}
28-
{{- else }}
29-
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
30-
{{- end }}
26+
checksum/config: {{ include "cortex.configChecksum" . }}
3127
{{- with .Values.query_scheduler.podAnnotations }}
3228
{{- toYaml . | nindent 8 }}
3329
{{- end }}

0 commit comments

Comments
 (0)