Skip to content

Commit

Permalink
Merge pull request #76 from tjorri/main
Browse files Browse the repository at this point in the history
add max_conns_per_host config to helm chart
  • Loading branch information
blind-oracle authored Sep 23, 2024
2 parents 824bdbf + 6aa5f04 commit 7b96c61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/k8s/chart/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
metadata: {{ .Values.config.metadata }}
log_response_errors: {{ .Values.config.log_response_errors }}
max_connection_duration: {{ .Values.config.max_connection_duration }}
max_conns_per_host: {{ .Values.config.max_conns_per_host }}
{{- if .Values.config.auth.enabled }}
auth:
egress:
Expand Down
5 changes: 5 additions & 0 deletions deploy/k8s/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ config:
# Use 0 to keep them indefinitely
# (env: `CT_MAX_CONN_DURATION`)
max_connection_duration: 0s
# -- This parameter sets the limit for the count of outgoing concurrent connections to Cortex / Mimir.
# By default it's 64 and if all of these connections are busy you will get errors when pushing from Prometheus.
# If your `target` is a DNS name that resolves to several IPs then this will be a per-IP limit.
# (env: `CT_MAX_CONNS_PER_HOST`)
max_conns_per_host: 64

# Authentication (optional)
auth:
Expand Down

0 comments on commit 7b96c61

Please sign in to comment.