Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: support IdleTimeout in clientTrafficPolicy #3042

Merged
merged 22 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3e70842
build(deps): bump github.com/prometheus/common from 0.50.0 to 0.51.1 …
dependabot[bot] Mar 25, 2024
2033d9c
docs: fix squash link (#3013)
zirain Mar 25, 2024
f9fac00
api: support IdleTimeout in clientTrafficPolicy
yaelSchechter Mar 27, 2024
aac9f24
build(deps): bump fortio.org/fortio from 1.63.4 to 1.63.5 (#3011)
dependabot[bot] Mar 25, 2024
d8f9355
ci: trigger docs action (#3017)
zirain Mar 26, 2024
cbc17eb
ci: fix cherrypick permission (#2985)
zirain Mar 26, 2024
e98b3a4
fix: set path prefix for http ext auth service (#3018)
zhaohuabing Mar 26, 2024
4d3887d
feat: add Chinese language support for doc site (#2532)
wilsonwu Mar 26, 2024
1873bca
feat(translator): implement connection limit (#2952)
guydc Mar 26, 2024
e9c571e
docs: remove 0.1.0 from linkinator ignore list (#3015)
yuluo-yx Mar 26, 2024
ee9fea4
disable connection limit test (#3025)
zhaohuabing Mar 26, 2024
338c6f6
fix: use correct connection limit attribute name in e2e, docs (#3028)
guydc Mar 26, 2024
0afbe3f
docs: document patches in envoy proxy (#3027)
yaelSchechter Mar 26, 2024
ef38a73
feat(policy): Adding BTP support for UDP/TCPRoute (#3004)
alexwo Mar 26, 2024
8de8cbe
fix: add missing http filters to the http filter chain (#2970)
zhaohuabing Mar 27, 2024
bd91702
fix pr comment
yaelSchechter Mar 28, 2024
6bb7e70
ci: grant pull-requests permission to cherrypick action (#3039)
zirain Mar 28, 2024
c5d2a2b
Update ADOPTERS.md for Airspace Link (#3045)
akhenakh Mar 28, 2024
9872ac4
feat: added option to specify resources on the OIDC security policy (…
jaynis Mar 28, 2024
35079c3
run make commands
yaelSchechter Mar 28, 2024
03d33af
fix: allow websockets in url rewrite (#3022)
zetaab Mar 28, 2024
890c3f1
Merge branch 'main' into idle-timeout-api
yaelSchechter Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion api/v1alpha1/timeout_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ type ClientTimeout struct {
}

type HTTPClientTimeout struct {
// The duration envoy waits for the complete request reception. This timer starts upon request
// RequestReceivedTimeout is the duration envoy waits for the complete request reception. This timer starts upon request
// initiation and stops when either the last byte of the request is sent upstream or when the response begins.
//
// +optional
RequestReceivedTimeout *gwapiv1.Duration `json:"requestReceivedTimeout,omitempty"`

// IdleTimeout for an HTTP connection. Idle time is defined as a period in which there are no active requests in the connection.
// Default: 1 hour.
zhaohuabing marked this conversation as resolved.
Show resolved Hide resolved
//
// +optional
IdleTimeout *gwapiv1.Duration `json:"idleTimeout,omitempty"`
}
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,17 @@ spec:
http:
description: Timeout settings for HTTP.
properties:
idleTimeout:
description: 'IdleTimeout for an HTTP connection. Idle time
is defined as a period in which there are no active requests
in the connection. Default: 1 hour.'
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
type: string
requestReceivedTimeout:
description: The duration envoy waits for the complete request
reception. This timer starts upon request initiation and
stops when either the last byte of the request is sent upstream
or when the response begins.
description: RequestReceivedTimeout is the duration envoy
waits for the complete request reception. This timer starts
upon request initiation and stops when either the last byte
of the request is sent upstream or when the response begins.
pattern: ^([0-9]{1,5}(h|m|s|ms)){1,4}$
type: string
type: object
Expand Down
3 changes: 2 additions & 1 deletion site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,8 @@ _Appears in:_

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `requestReceivedTimeout` | _[Duration](#duration)_ | false | The duration envoy waits for the complete request reception. This timer starts upon request initiation and stops when either the last byte of the request is sent upstream or when the response begins. |
| `requestReceivedTimeout` | _[Duration](#duration)_ | false | RequestReceivedTimeout is the duration envoy waits for the complete request reception. This timer starts upon request initiation and stops when either the last byte of the request is sent upstream or when the response begins. |
| `idleTimeout` | _[Duration](#duration)_ | false | IdleTimeout for an HTTP connection. Idle time is defined as a period in which there are no active requests in the connection. Default: 1 hour. |


#### HTTPExtAuthService
Expand Down
Loading