Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm: prevent query-scheduler from terminating connections #3262

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Entries should include a reference to the Pull Request that introduced the chang
* [ENHANCEMENT] Add podAntiAffinity to sizing plans (small.yaml, large.yaml, capped-small.yaml, capped-large.yaml). #2906
* [ENHANCEMENT] Add ability to configure and run mimir-continuous-test. #3117
* [BUGFIX] Fix wrong label selector in ingester anti affinity rules in the sizing plans. #2906
* [BUGFIX] Query-scheduler no longer periodically terminates connections from query-frontends and queriers. This caused some queries to time out and EOF errors in the logs. #3262

## 3.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
{{- range $key, $value := .Values.query_scheduler.extraArgs }}
- "-{{ $key }}={{ $value }}"
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/enterprise-metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
- "-target=query-scheduler"
- "-config.expand-env=true"
- "-config.file=/etc/mimir/mimir.yaml"
- "-server.grpc.keepalive.max-connection-age=2562047h" # 100000 days, effectively infinity
- "-server.grpc.keepalive.max-connection-age-grace=2562047h" # 100000 days, effectively infinity
volumeMounts:
- name: runtime-config
mountPath: /var/mimir
Expand Down