File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed
content/en/docs/reference
command-line-tools-reference/feature-gates Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : WatchListClient
3
+ content_type : feature_gate
4
+ _build :
5
+ list : never
6
+ render : false
7
+
8
+ stages :
9
+ - stage : beta
10
+ defaultValue : false
11
+ fromVersion : " 1.30"
12
+ ---
13
+ Allows an API client to request a stream of data rather than fetching a full list.
14
+ This functionality is available in ` client-go ` and requires the
15
+ [ WatchList] ( /docs/reference/command-line-tools-reference/feature-gates/ )
16
+ feature to be enabled on the server.
17
+ If the ` WatchList ` is not supported on the server, the client will seamlessly fall back to a standard list request.
Original file line number Diff line number Diff line change 9
9
- stage : alpha
10
10
defaultValue : false
11
11
fromVersion : " 1.27"
12
+ toVersion : " 1.31"
13
+ - stage : beta
14
+ defaultValue : true
15
+ fromVersion : " 1.32"
12
16
---
13
17
Enable support for [ streaming initial state of objects in watch requests] ( /docs/reference/using-api/api-concepts/#streaming-lists ) .
Original file line number Diff line number Diff line change @@ -443,13 +443,11 @@ the API server will send any `BOOKMARK` event even when requested.
443
443
444
444
On large clusters, retrieving the collection of some resource types may result in
445
445
a significant increase of resource usage (primarily RAM) on the control plane.
446
- In order to alleviate its impact and simplify the user experience of the ** list** + ** watch**
447
- pattern, Kubernetes v1.27 introduces as an alpha feature the support
448
- for requesting the initial state (previously requested via the ** list** request) as part of
449
- the ** watch** request.
446
+ To alleviate the impact and simplify the user experience of the ** list** + ** watch**
447
+ pattern, Kubernetes v1.32 promotes to beta the feature that allows requesting the initial state
448
+ (previously requested via the ** list** request) as part of the ** watch** request.
450
449
451
- Provided that the ` WatchList ` [ feature gate] ( /docs/reference/command-line-tools-reference/feature-gates/ )
452
- is enabled, this can be achieved by specifying ` sendInitialEvents=true ` as query string parameter
450
+ On the client-side the initial state can be requested by specifying ` sendInitialEvents=true ` as query string parameter
453
451
in a ** watch** request. If set, the API server starts the watch stream with synthetic init
454
452
events (of type ` ADDED ` ) to build the whole state of all existing objects followed by a
455
453
[ ` BOOKMARK ` event] ( /docs/reference/using-api/api-concepts/#watch-bookmarks )
You can’t perform that action at this time.
0 commit comments