mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 12:47:28 +08:00
feat:Support downstream and upstram, which can be configured through helm parameters (#1399)
This commit is contained in:
@@ -116,6 +116,12 @@ data:
|
|||||||
{{- $existingData = index $existingConfig.data "higress" | default "{}" | fromYaml }}
|
{{- $existingData = index $existingConfig.data "higress" | default "{}" | fromYaml }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $newData := dict }}
|
{{- $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 }}
|
{{- if and (hasKey .Values "tracing") .Values.tracing.enable }}
|
||||||
{{- $_ := set $newData "tracing" .Values.tracing }}
|
{{- $_ := set $newData "tracing" .Values.tracing }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -684,3 +684,19 @@ tracing:
|
|||||||
# zipkin:
|
# zipkin:
|
||||||
# service: ""
|
# service: ""
|
||||||
# port: 9411
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user