How to control timeout related parameter with values.yaml

Tried to set timeout-related values under env section in values.yaml.

Origin of values.yaml charts/values.yaml at main · Kong/charts · GitHub

None of environment variable below seem to have effect.

  • upstream_connect_timeout: 5000
  • upstream_send_timeout: 1000
  • upstream_read_timeout: 1000
  • connect_timeout: 5000
  • read_timeout: 1000
  • write_timeout: 1000
  • proxy_connect_timeout: 5000
  • proxy_read_timeout: 1000
  • proxy_write_timeout: 1000
  • proxy_proxy_connect_timeout: 5000
  • proxy_proxy_read_timeout: 1000
  • proxy_proxy_write_timeout: 1000
  • upstream_keepalive_idle_timeout: 1
  • proxy_proxy_next_upstream: off
  • nginx_proxy_proxy_next_upstream: off
  • nginx_proxy_proxy_connect_timeout: 5000
  • nginx_proxy_proxy_read_timeout: 1000
  • nginx_proxy_proxy_send_timeout: 1000
  • nginx_proxy_proxy_connect_timeout: 5s
  • nginx_proxy_proxy_read_timeout: 1s
  • nginx_proxy_proxy_send_timeout: 1s
  • nginx_proxy_connect_timeout: 5s
  • nginx_proxy_read_timeout: 1s
  • nginx_proxy_send_timeout: 1s
    (aggressive parameters are for testing purpose )

Verified behavior with curl command without option like “curl mykong.test.com:30080/foo”.

Does anyone know whether it is possible or not?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ