-
Notifications
You must be signed in to change notification settings - Fork 955
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
Default use random port allocator for runtime controllers #2580
Default use random port allocator for runtime controllers #2580
Conversation
Signed-off-by: dongyun.xzh <[email protected]>
Signed-off-by: dongyun.xzh <[email protected]>
Signed-off-by: dongyun.xzh <[email protected]>
Signed-off-by: dongyun.xzh <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2580 +/- ##
==========================================
+ Coverage 67.51% 67.59% +0.07%
==========================================
Files 368 368
Lines 21419 21506 +87
==========================================
+ Hits 14462 14536 +74
- Misses 5260 5264 +4
- Partials 1697 1706 +9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: dongyun.xzh <[email protected]>
/test fluid-e2e |
@@ -61,8 +72,13 @@ type RuntimePortAllocator struct { | |||
var rpa *RuntimePortAllocator | |||
|
|||
// SetupRuntimePortAllocator instantiates the global singleton rpa, use BitMap port allocating policy |
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 correct the function comment.
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.
Thx. Done
@TrafalgarZZZ @cheyang |
Signed-off-by: dongyun.xzh <[email protected]>
Signed-off-by: dongyun.xzh <[email protected]>
@xliuqq LGTM. Added configurable properties in |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheyang, xliuqq 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 |
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]>
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]>
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]> Signed-off-by: cheyang <[email protected]>
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]> Signed-off-by: cheyang <[email protected]>
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]>
…dnative#2580) * Validate port allocating policy before setting up Signed-off-by: dongyun.xzh <[email protected]> * Expose configurable option for port allocating policy Signed-off-by: dongyun.xzh <[email protected]> * Fix unit tests Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix static check Signed-off-by: dongyun.xzh <[email protected]> * Fix comments for `SetupRuntimePortAllocator()` Signed-off-by: dongyun.xzh <[email protected]> * Support configurable port allocate policy Signed-off-by: dongyun.xzh <[email protected]> --------- Signed-off-by: dongyun.xzh <[email protected]> Signed-off-by: cheyang <[email protected]>
) * Validate port allocating policy before setting up * Expose configurable option for port allocating policy * Fix unit tests * Fix static check * Fix static check * Fix comments for `SetupRuntimePortAllocator()` * Support configurable port allocate policy --------- Signed-off-by: dongyun.xzh <[email protected]> Signed-off-by: cheyang <[email protected]> Co-authored-by: TzZtzt <[email protected]>
Ⅰ. Describe what this PR does
--port-allocate-policy=bitmap
)Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews