File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,8 @@ Additional OpenFaaS options in `values.yaml`.
187
187
| ` gateway.writeTimeout` | Queue worker write timeout | ` 65s` |
188
188
| ` gateway.upstreamTimeout` | Maximum duration of upstream function call, should be lower than ` readTimeout` /` writeTimeout` | ` 60s` |
189
189
| ` gateway.scaleFromZero` | Enables an intercepting proxy which will scale any function from 0 replicas to the desired amount | ` true` |
190
+ | ` gateway.max_idle_conns` | Set max idle connections from gateway to functions | ` 1024` |
191
+ | ` gateway.max_idle_conns_per_host` | Set max idle connections from gateway to functions per host | ` 1024` |
190
192
| ` queueWorker.replicas` | Replicas of the queue-worker, pick more than ` 1` for HA | ` 1` |
191
193
| ` queueWorker.ackWait` | Max duration of any async task/request | ` 60s` |
192
194
| ` nats.enableMonitoring` | Enable the NATS monitoring endpoints on port ` 8222` | ` false` |
Original file line number Diff line number Diff line change 84
84
{{- end }}
85
85
- name : scale_from_zero
86
86
value : " {{ .Values.gateway.scaleFromZero }}"
87
+ - name : max_idle_conns
88
+ value : " {{ .Values.gateway.maxIdleConns }}"
89
+ - name : max_idle_conns_per_host
90
+ value : " {{ .Values.gateway.maxIdleConnsPerHost }}"
87
91
{{- if .Values.basic_auth }}
88
92
volumeMounts :
89
93
- name : auth
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ gateway:
32
32
scaleFromZero : true
33
33
# change the port when creating multiple releases in the same baremetal cluster
34
34
nodePort : 31112
35
+ maxIdleConns : 1024
36
+ maxIdleConnsPerHost : 1024
35
37
36
38
queueWorker :
37
39
image : openfaas/queue-worker:0.5.4
Original file line number Diff line number Diff line change 46
46
value : " /etc/openfaas"
47
47
- name : scale_from_zero
48
48
value : " false"
49
-
49
+ - name : max_idle_conns
50
+ value : " 1024"
51
+ - name : max_idle_conns_per_host
52
+ value : " 1024"
50
53
ports :
51
54
- containerPort : 8080
52
55
protocol : TCP
You can’t perform that action at this time.
0 commit comments