-
Notifications
You must be signed in to change notification settings - Fork 990
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 EACRuntime Controller cmd #2359
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2359 +/- ##
========================================
Coverage 50.49% 50.50%
========================================
Files 340 344 +4
Lines 25532 25674 +142
========================================
+ Hits 12892 12966 +74
- Misses 11175 11240 +65
- Partials 1465 1468 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
# Debug | ||
RUN go install github.com/go-delve/delve/cmd/dlv@v1.8.2 | ||
|
||
FROM alpine:3.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.
I suggest using registry.cn-hangzhou.aliyuncs.com/acs/alpine:3.16-base.
} | ||
setupLog.Info("port range parsed", "port range", pr.String()) | ||
|
||
portallocator.SetupRuntimePortAllocator(mgr.GetClient(), pr, eac.GetReservedPorts) |
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.
you can try SetupRuntimePortAllocatorWithType
and use Random
.
* eac cmd Signed-off-by: mayingchun <mayingchun321@gmail.com> * ut Signed-off-by: mayingchun <mayingchun321@gmail.com> * fix Signed-off-by: mayingchun <mayingchun321@gmail.com> * more ut Signed-off-by: mayingchun <mayingchun321@gmail.com> Signed-off-by: mayingchun <mayingchun321@gmail.com>
Ⅰ. Describe what this PR does
Add EACRuntime Controller cmd.
Ⅱ. Does this pull request fix one issue?
fixes #2352
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
unit test
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews