Skip to content

Commit 7b96c61

Browse files
authored
Merge pull request blind-oracle#76 from tjorri/main
add max_conns_per_host config to helm chart
2 parents 824bdbf + 6aa5f04 commit 7b96c61

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deploy/k8s/chart/templates/configmap.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ data:
1717
metadata: {{ .Values.config.metadata }}
1818
log_response_errors: {{ .Values.config.log_response_errors }}
1919
max_connection_duration: {{ .Values.config.max_connection_duration }}
20+
max_conns_per_host: {{ .Values.config.max_conns_per_host }}
2021
{{- if .Values.config.auth.enabled }}
2122
auth:
2223
egress:

deploy/k8s/chart/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ config:
8787
# Use 0 to keep them indefinitely
8888
# (env: `CT_MAX_CONN_DURATION`)
8989
max_connection_duration: 0s
90+
# -- This parameter sets the limit for the count of outgoing concurrent connections to Cortex / Mimir.
91+
# By default it's 64 and if all of these connections are busy you will get errors when pushing from Prometheus.
92+
# If your `target` is a DNS name that resolves to several IPs then this will be a per-IP limit.
93+
# (env: `CT_MAX_CONNS_PER_HOST`)
94+
max_conns_per_host: 64
9095

9196
# Authentication (optional)
9297
auth:

0 commit comments

Comments
 (0)