Skip to content

Commit

Permalink
skipper: add server connection keepalive limits
Browse files Browse the repository at this point in the history
Add config items for server connection keepalive limits, set no limits by default.

See zalando/skipper#3246

Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov committed Oct 2, 2024
1 parent 73298f0 commit d01005f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ skipper_close_idle_conns_period: "20s"
skipper_read_timeout_server: "5m"
skipper_write_timeout_server: "0"

# skipper server keepalive defaults
skipper_keepalive_server: "0"
skipper_keepalive_requests_server: "0"

# skipper startup settings
{{if eq .Cluster.Environment "production"}}
skipper_readiness_init_delay_seconds: 60
Expand Down
2 changes: 2 additions & 0 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ spec:
- "-idle-timeout-server={{ .Cluster.ConfigItems.skipper_idle_timeout_server }}"
- "-read-timeout-server={{ .Cluster.ConfigItems.skipper_read_timeout_server }}"
- "-write-timeout-server={{ .Cluster.ConfigItems.skipper_write_timeout_server }}"
- "-keepalive-server={{ .Cluster.ConfigItems.skipper_keepalive_server }}"
- "-keepalive-requests-server={{ .Cluster.ConfigItems.skipper_keepalive_requests_server }}"
- "-lua-sources={{ .Cluster.ConfigItems.skipper_lua_sources }}"
- "-disabled-filters={{ .Cluster.ConfigItems.skipper_disabled_filters }}"
{{ if ne .Cluster.ConfigItems.skipper_routesrv_enabled "exec" }}
Expand Down

0 comments on commit d01005f

Please sign in to comment.