File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : ext-proxy
33description : A Helm chart for managing different proxy configurations for https://github.com/demeter-run
4- version : 0.0.3
4+ version : 0.0.4
55appVersion : " 0.0.1"
66
77maintainers :
Original file line number Diff line number Diff line change 88 {{- range $tier := .Values.proxyConfig.tiers }}
99 [[tiers]]
1010 name = "{{ $tier.name }}"
11- {{- range $rate := $tier.rates }}
11+ {{- if $tier.maxConnections }}
12+ max_connections = {{ $tier.maxConnections }}
13+ {{- end }}
14+ {{- if $tier.rates }}
15+ {{- range $rate := $tier.rates }}
1216 [[tiers.rates]]
1317 interval = "{{ $rate.interval }}"
1418 limit = {{ div $rate.limitPerReplica $.Values.proxy.replicas }}
15- {{- end }}
19+ {{- end }}
20+ {{- end }}
1621 {{- end }}
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ podMonitor:
5555proxyConfig :
5656 tiers :
5757 - name : " 0"
58+ # Optional depends on ext-proxy version
59+ maxConnections : 100
5860 rates :
5961 - interval : " 1m"
6062 limitPerReplica : 1
You can’t perform that action at this time.
0 commit comments