Skip to content

add WatchListCompression feature gate documentation - #56515

Open
p0lyn0mial wants to merge 1 commit into
kubernetes:dev-1.37from
p0lyn0mial:dev-1.37
Open

add WatchListCompression feature gate documentation#56515
p0lyn0mial wants to merge 1 commit into
kubernetes:dev-1.37from
p0lyn0mial:dev-1.37

Conversation

@p0lyn0mial

Copy link
Copy Markdown
Contributor

Description

Add feature gate description file for WatchListCompression (beta, default true, v1.37).
The gate enables gzip compression for WatchList responses from the API server.

xref: kubernetes/kubernetes#140140

Issue

Closes: #

@kubernetes-prow kubernetes-prow Bot added this to the 1.37 milestone Jul 17, 2026
@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

👷 Deploy Preview for kubernetes-io-vnext-staging processing.

Name Link
🔨 Latest commit e225c2f
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-vnext-staging/deploys/6a7c44f56f236100080ae559

@kubernetes-prow kubernetes-prow Bot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 17, 2026
@kubernetes-prow
kubernetes-prow Bot requested a review from dipesh-rawat July 17, 2026 08:55
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign reylejano for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the language/en Issues or PRs related to English language label Jul 17, 2026
@kubernetes-prow
kubernetes-prow Bot requested a review from windsonsea July 17, 2026 08:55
@kubernetes-prow kubernetes-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 17, 2026
@p0lyn0mial

Copy link
Copy Markdown
Contributor Author

/assign @wojtek-t

@netlify

netlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit e225c2f
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/6a7c44f547b12d00083e18a8
😎 Deploy Preview https://deploy-preview-56515--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lmktfy lmktfy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://k8s.io/docs/reference/using-api/api-concepts/#streaming-lists also wants a brief update, to mention that clients can request that the watch response is gzip encoded (and what happens if they do).

fromVersion: "1.37"
---
Enables compression for
[WatchList](/docs/reference/command-line-tools-reference/feature-gates/WatchList/)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[WatchList](/docs/reference/command-line-tools-reference/feature-gates/WatchList/)
[_watch list_](/docs/reference/using-api/api-concepts/#streaming-lists)

---
Enables compression for
[WatchList](/docs/reference/command-line-tools-reference/feature-gates/WatchList/)
responses from the API server.

@lmktfy lmktfy Jul 18, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like this?

 responses from the API server.
+
+If you disable the
+[`WatchList`](/docs/reference/command-line-tools-+reference/feature-gates/#WatchList)
+feature gate, the API server starts without any error,
+but Kubernetes doesn't provide support for watch lists
+(compressed or uncompressed).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to keep this doc focused on WatchListCompression rather than explaining WatchList behavior here.

How about: This feature gate has no effect if WatchList is disabled. ?

@SergeyKanzhelev

Copy link
Copy Markdown
Member

/sig api-machinery

@kubernetes-prow kubernetes-prow Bot added the sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. label Jul 30, 2026
@katcosgrove

Copy link
Copy Markdown
Contributor

@p0lyn0mial could you please address the suggestions so we can get this merged for docs freeze? Thank you!

@lmktfy

lmktfy commented Aug 9, 2026

Copy link
Copy Markdown
Member

Does this PR now need a docs exception?

@p0lyn0mial

Copy link
Copy Markdown
Contributor Author

pushed. ptal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants