Skip to content
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

Merged
merged 4 commits into from
Nov 26, 2022
Merged

Conversation

myccccccc
Copy link
Contributor

Ⅰ. 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

Signed-off-by: mayingchun <mayingchun321@gmail.com>
Signed-off-by: mayingchun <mayingchun321@gmail.com>
Signed-off-by: mayingchun <mayingchun321@gmail.com>
@codecov
Copy link

codecov bot commented Nov 25, 2022

Codecov Report

Merging #2359 (f5be2a4) into master (83ad096) will increase coverage by 0.00%.
The diff coverage is 52.11%.

❗ Current head f5be2a4 differs from pull request most recent head 175557d. Consider uploading reports for the commit 175557d to get more accurate results

@@           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     
Impacted Files Coverage Δ
pkg/ddc/eac/engine.go 31.81% <31.81%> (ø)
pkg/ddc/eac/port_parser.go 73.91% <73.91%> (ø)
pkg/ddc/eac/runtime_info.go 91.30% <91.30%> (ø)
pkg/ddc/eac/utils.go 100.00% <100.00%> (ø)

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: mayingchun <mayingchun321@gmail.com>
@myccccccc myccccccc marked this pull request as ready for review November 25, 2022 12:54
# Debug
RUN go install github.com/go-delve/delve/cmd/dlv@v1.8.2

FROM alpine:3.10
Copy link
Collaborator

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)
Copy link
Collaborator

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.

@cheyang cheyang merged commit 9465d67 into fluid-cloudnative:master Nov 26, 2022
cheyang pushed a commit to cheyang/fluid that referenced this pull request Feb 14, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURES]Add EACRuntime Controller cmd
2 participants