Skip to content

Commit

Permalink
Merge pull request #8272 from zalando-incubator/skipper/keepalive-server
Browse files Browse the repository at this point in the history
skipper: add server connection keepalive limits
  • Loading branch information
AlexanderYastrebov authored Oct 2, 2024
2 parents 73298f0 + d01005f commit ebf6526
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 ebf6526

Please sign in to comment.