diff --git a/helm/core/templates/configmap.yaml b/helm/core/templates/configmap.yaml index b7814f5bf..a915604d1 100644 --- a/helm/core/templates/configmap.yaml +++ b/helm/core/templates/configmap.yaml @@ -116,6 +116,12 @@ data: {{- $existingData = index $existingConfig.data "higress" | default "{}" | fromYaml }} {{- end }} {{- $newData := dict }} + {{- if hasKey .Values "upstream" }} + {{- $_ := set $newData "upstream" .Values.upstream }} + {{- end }} + {{- if hasKey .Values "downstream" }} + {{- $_ := set $newData "downstream" .Values.downstream }} + {{- end }} {{- if and (hasKey .Values "tracing") .Values.tracing.enable }} {{- $_ := set $newData "tracing" .Values.tracing }} {{- end }} diff --git a/helm/core/values.yaml b/helm/core/values.yaml index 39582f748..fb03a2f85 100644 --- a/helm/core/values.yaml +++ b/helm/core/values.yaml @@ -684,3 +684,19 @@ tracing: # zipkin: # service: "" # port: 9411 + +# Downstream config settings +downstream: + idleTimeout: 180 + maxRequestHeadersKb: 60 + connectionBufferLimits: 32768 + http2: + maxConcurrentStreams: 100 + initialStreamWindowSize: 65535 + initialConnectionWindowSize: 1048576 + routeTimeout: 0 + +# Upstream config settings +upstream: + idleTimeout: 10 + connectionBufferLimits: 10485760