-
Notifications
You must be signed in to change notification settings - Fork 132
Export CDI upload proxy lower-band port in CI clusters #1435
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
Conversation
Currently CI clusters already expose the upload proxy port which is later used for setting up a node-port. Because the port belongs to the dynamic node-port allocation range (ala upper-band) by default[1] it makes it so that node-port can be claimed by a dynamic service which in turns causes a conflict once the upload proxy service is attempted to be created. This commit adds a temporary UploadProxyLowerBand port from the static range to fix that. [1] https://kubernetes.io/blog/2023/05/11/nodeport-dynamic-and-static-allocation/#default-range-30000-32767 Signed-off-by: Adi Aloni <aaloni@redhat.com>
Reviewer's GuideThis pull request introduces a new, dedicated port ( File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
/cc @akalenyu |
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.
Hey @Acedus - I've reviewed your changes - here's some feedback:
- Consider changing the existing
PortUploadProxy
constant to a static-range port instead of introducing a separateUploadProxyLowerBand
.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
/cc @brianmcarey |
/retest-required |
/retest |
1 similar comment
/retest |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey 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 |
@Acedus: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
[a43ac80 feat: enable variable for requiring nested virtualization](kubevirt/kubevirtci#1397) [b6aa610 Export CDI upload proxy lowerband port in CI clusters](kubevirt/kubevirtci#1435) [5e59b56 feat: Add a new flag to configure the dynamic-networks-controller being deploy through CNAO](kubevirt/kubevirtci#1408) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
[a43ac80 feat: enable variable for requiring nested virtualization](kubevirt/kubevirtci#1397) [b6aa610 Export CDI upload proxy lowerband port in CI clusters](kubevirt/kubevirtci#1435) [5e59b56 feat: Add a new flag to configure the dynamic-networks-controller being deploy through CNAO](kubevirt/kubevirtci#1408) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
[a43ac80 feat: enable variable for requiring nested virtualization](kubevirt/kubevirtci#1397) [b6aa610 Export CDI upload proxy lowerband port in CI clusters](kubevirt/kubevirtci#1435) [5e59b56 feat: Add a new flag to configure the dynamic-networks-controller being deploy through CNAO](kubevirt/kubevirtci#1408) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
[a43ac80 feat: enable variable for requiring nested virtualization](kubevirt/kubevirtci#1397) [b6aa610 Export CDI upload proxy lowerband port in CI clusters](kubevirt/kubevirtci#1435) [5e59b56 feat: Add a new flag to configure the dynamic-networks-controller being deploy through CNAO](kubevirt/kubevirtci#1408) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
What this PR does / why we need it:
Currently CI clusters already expose the upload proxy port which is later used for setting up a node-port.
Because the port belongs to the dynamic node-port allocation range (ala upper-band) by default[1] it makes it so that node-port can be claimed by a dynamic service which in turns causes a conflict once the upload proxy service is attempted to be created.
This commit adds a temporary UploadProxyLowerBand port from the static range to fix that.
[1] https://kubernetes.io/blog/2023/05/11/nodeport-dynamic-and-static-allocation/#default-range-30000-32767
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
See #653 for reference.
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: