feat(loadbalancer): support for idle timeout (TCP and UDP) (#1039)

This commit is contained in:
Björn Fischer 2025-10-27 18:43:56 +01:00 committed by GitHub
parent e0b2c098f2
commit e4e2e55e94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 371 additions and 75 deletions

View file

@ -57,6 +57,8 @@ Read-Only:
- `port` (Number) Port number where we listen for traffic.
- `protocol` (String) Protocol is the highest network protocol we understand to load balance.
- `target_pool` (String) Reference target pool by target pool name.
- `tcp` (Attributes) Options that are specific to the TCP protocol. (see [below for nested schema](#nestedatt--listeners--tcp))
- `udp` (Attributes) Options that are specific to the UDP protocol. (see [below for nested schema](#nestedatt--listeners--udp))
<a id="nestedatt--listeners--server_name_indicators"></a>
### Nested Schema for `listeners.server_name_indicators`
@ -66,6 +68,22 @@ Optional:
- `name` (String) A domain name to match in order to pass TLS traffic to the target pool in the current listener
<a id="nestedatt--listeners--tcp"></a>
### Nested Schema for `listeners.tcp`
Read-Only:
- `idle_timeout` (String) Time after which an idle connection is closed. The default value is set to 5 minutes, and the maximum value is one hour.
<a id="nestedatt--listeners--udp"></a>
### Nested Schema for `listeners.udp`
Read-Only:
- `idle_timeout` (String) Time after which an idle session is closed. The default value is set to 1 minute, and the maximum value is 2 minutes.
<a id="nestedatt--networks"></a>
### Nested Schema for `networks`