-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
add blog for feature ServiceNodePortStaticSubrange #40204
Conversation
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
4041c5b
to
3eb86f1
Compare
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
content/en/blog/_posts/2023-03-08-nodeport-dynamic-and-static-allocation.md
Outdated
Show resolved
Hide resolved
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
@tengqm thank you so much, It's all fixed. |
service-node-port-range: 30000-32767 | ||
Band Offset: `min(max(16, 2768/32), 128)` = `min(max(16, 86), 128)` = `min(86, 128)` = 86 | ||
Static band start: 30000 | ||
Static band end: 30085 | ||
Range end: 32767 |
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.
I don't think the output would be good for these lines.
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.
Would it be better to change them to tables?
@xuzhenglun There are still quite a few nits you didn't respond to. |
@tengqm Thanks for the correction, sorry, I think they should all be changed now. |
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.
/hold
pending assignment of publication date
/lgtm |
Hello, Comms Lead for v1.27 here. The publication order and date for the Feature Blog series has been finalized and the tracking board is updated. The publication date for this article is 11-05-2023 (May 11). Thank you! |
--- | ||
layout: blog | ||
title: "Kubernetes 1.27: Avoid Collisions Assigning Ports to NodePort Services" | ||
date: 2023-04-10 |
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.
Please change this date and the filename according to the suggestion.
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.
thanks, it's done
/hold cancel |
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
@tengqm Is there anything else I need to do next? Does the |
No. I omitted |
@xuzhenglun You have to rename the file according to the release date assigned. |
/hold |
Really thanks for your explanation patiently.
The file name has been corrected. |
/hold cancel |
/lgtm |
LGTM label has been added. Git tree hash: c096c74e85a291e602e4afebfac97f8fc020f118
|
## How can you avoid NodePort Service port conflicts? | ||
Kubernetes 1.24 introduced changes for `type: ClusterIP` Services, dividing the CIDR range for cluster | ||
IP addresses into two blocks that use different allocation policies to [reduce the risk of conflicts](/docs/reference/networking/virtual-ips/#avoiding-collisions). | ||
In Kubernetes 1.27, as an alpha feature, you can adopt a similar policy for `type: NodePort` Servies. |
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.
In Kubernetes 1.27, as an alpha feature, you can adopt a similar policy for `type: NodePort` Servies. | |
In Kubernetes 1.27, as an alpha feature, you can adopt a similar policy for `type: NodePort` Services. |
ups, I noticed there is a typo https://github.com/kubernetes/website/pull/40204/files#r1163933056 , @xuzhenglun can you please follow up on that? |
ops, thank you for your careful review. The PR has been submitted in #40635. |
add blog for KEP 3668 kubernetes/enhancements#3668
this blog describes the behavior of the new Feature ServiceNodePortStaticSubrange, and the problems it solves, and shows some examples