-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
KEP-3453 to GA #41031
KEP-3453 to GA #41031
Conversation
/approve Not sure if we want to merge this because the 'dev-1.28' is not well sync'ed with 'main'. Feel free to lift the hold if the potential conflict is not a big issue. |
@@ -133,7 +133,7 @@ iptables: | |||
|
|||
##### Performance optimization for `iptables` mode {#minimize-iptables-restore} | |||
|
|||
{{< feature-state for_k8s_version="v1.27" state="beta" >}} | |||
{{< feature-state for_k8s_version="v1.28" state="stable" >}} | |||
|
|||
In Kubernetes {{< skew currentVersion >}} the kube-proxy defaults to a minimal approach |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might well need a rewrite: I'm assuming that the feature gate is going to be GA and locked to true
, so “defaults to” isn't correct any more.
@@ -133,7 +133,7 @@ iptables: | |||
|
|||
##### Performance optimization for `iptables` mode {#minimize-iptables-restore} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sense could change here; for example:
##### Legacy `minSyncPeriod` configuration in `iptables` mode {#minimize-iptables-restore}
Also, consider moving this into or after the minSyncPeriod
section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this heading isn't needed at all?
f89c7f7
to
8154397
Compare
updated... I still don't have a good sense of how we refer to different versions in the docs. (I feel like we should say "kube-proxy 1.28 and later do X" but it seems like the preferred style is to always talk about Current subsection order is
And I feel like maybe the "Updating" section breaks the flow? But it doesn't seem like it fits after Maybe it could be "minSyncPeriod, syncPeriod, Updating legacy config", ane the part in the syncPeriod section about "in the past, it was sometimes useful to set [syncPeriod] to a very large value (eg, |
If we can, we write wording that will still feel relevant even 5 minor releases later. So we avoid phrases like “new implementation” or “has graduated to GA”. The best way to achieve that timelessness depends on what we want to say. Watch out for one thing though. Any time we say “foo 1.28 and later”, consider if any future minor release might make this previously true statement false. Maybe, in that scenario, you can reword to make that problem case less likely? |
Do we even need an “Optimizing iptables mode performance” section in the v1.28 docs? We can instead suggest that if people are running an older version, to read the docs for that version as there are some important hints. |
I'm more inclined to explicitly call out the specific version when we mention something added/removed/changed. Users can get a good sense of when the change was introduced. Switching this to the Later on, say two years from now, our attitude towards this change will be different. The "something" has become so stable and well understood that no one cares when it was introduced. We will remove the mention "kube-proxy 1.24 and later on". On the contrary, if we use the The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this? It's not ideal but maybe it's better.
8154397
to
d9b57f2
Compare
updated |
d9b57f2
to
f33cd8b
Compare
f33cd8b
to
3efef7f
Compare
/hold cancel |
/hold |
3efef7f
to
b6877e2
Compare
/hold cancel |
nit: changing the status of this KEP to "Docs PR Ready for review" in the board |
@danwinship |
yes |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kbhawkey, tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
LGTM label has been added. Git tree hash: 0b797469d61e2ec2ba1e3cc4d6c02a5066173fa3
|
(The fact that it looks like we missed adding a Beta feature-gates line for 1.27 is an artifact of the current state of the
dev-1.28
branch. The line exists inmain
.)