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

Update Precedence config and resources output #3930

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

luolanzone
Copy link
Contributor

@luolanzone luolanzone commented Jun 23, 2022

  1. Update GatewayIPPrecedence to support "external/internal" option
    which is equal to public/private.
  2. Update MC doc to add more columns info.
  3. Exclude leader in the totalClusters in ClusterSet status since MC
    supports one leader only.

Signed-off-by: Lan Luo [email protected]

@luolanzone luolanzone added the area/multi-cluster Issues or PRs related to multi cluster. label Jun 23, 2022
@luolanzone luolanzone requested review from jianjuns and aravindakidambi and removed request for jianjuns June 23, 2022 02:26
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2022

Codecov Report

Merging #3930 (17ef0e3) into main (9952755) will increase coverage by 19.75%.
The diff coverage is 88.13%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #3930       +/-   ##
===========================================
+ Coverage   35.47%   55.22%   +19.75%     
===========================================
  Files         122      415      +293     
  Lines       17305    60346    +43041     
===========================================
+ Hits         6139    33329    +27190     
- Misses      10657    24336    +13679     
- Partials      509     2681     +2172     
Flag Coverage Δ
integration-tests 35.21% <ø> (-0.27%) ⬇️
kind-e2e-tests 49.07% <34.37%> (?)
unit-tests 44.57% <69.49%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...llers/multicluster/member_clusterset_controller.go 9.73% <0.00%> (ø)
pkg/agent/openflow/client.go 69.26% <ø> (ø)
pkg/agent/proxy/proxier.go 62.92% <0.00%> (ø)
...luster/controllers/multicluster/node_controller.go 65.95% <50.00%> (ø)
...s/multicluster/memberclusterannounce_controller.go 71.79% <93.75%> (ø)
...llers/multicluster/leader_clusterset_controller.go 63.76% <100.00%> (ø)
...ntroller/networkpolicy/networkpolicy_controller.go 70.76% <100.00%> (ø)
pkg/agent/multicast/mcast_controller.go 51.93% <100.00%> (ø)
pkg/agent/multicast/mcast_discovery.go 61.60% <100.00%> (ø)
pkg/agent/openflow/pipeline.go 73.54% <100.00%> (ø)
... and 298 more

@luolanzone luolanzone force-pushed the multicluster-configs branch from 0810d4a to 1ab4245 Compare June 23, 2022 02:43
@luolanzone
Copy link
Contributor Author

/test-multicluster-e2e

Copy link
Contributor

@jianjuns jianjuns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you remove annotation multicluster.antrea.io/local-cluster-id in another PR?

docs/multicluster/user-guide.md Outdated Show resolved Hide resolved
docs/multicluster/user-guide.md Show resolved Hide resolved
@luolanzone
Copy link
Contributor Author

Would you remove annotation multicluster.antrea.io/local-cluster-id in another PR?

yes, I am working on cleaning up dead codes in another branch, it's still on-going, I may create a new PR today.

@luolanzone luolanzone force-pushed the multicluster-configs branch from 1ab4245 to 9caf714 Compare June 23, 2022 03:18
is created for cluster `test-cluster-east`. You can check the
`ClusterInfoImport` with command: `kubectl get clusterinfoimport -o yaml`,
which should show information like:
is created for cluster `test-cluster-east`. You can check it with command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove "You can check it with command".

%s/. You can check it with command:/:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

docs/multicluster/user-guide.md Outdated Show resolved Hide resolved
docs/multicluster/user-guide.md Outdated Show resolved Hide resolved
@luolanzone luolanzone force-pushed the multicluster-configs branch from 9caf714 to 9794a2d Compare June 23, 2022 03:54
docs/multicluster/user-guide.md Outdated Show resolved Hide resolved
docs/multicluster/user-guide.md Outdated Show resolved Hide resolved
1. Update GatewayIPPrecedence to support "external/internal" option
   which is requal to `public/private`.
2. Update MC doc to add more columns info.
3. Exclude leader in the totalClusters in ClusterSet status since MC
   supports one leader only.

Signed-off-by: Lan Luo <[email protected]>
@luolanzone luolanzone force-pushed the multicluster-configs branch from 9794a2d to 17ef0e3 Compare June 23, 2022 04:09
@jianjuns
Copy link
Contributor

/test-multicluster-e2e

2 similar comments
@luolanzone
Copy link
Contributor Author

/test-multicluster-e2e

@luolanzone
Copy link
Contributor Author

/test-multicluster-e2e

@jianjuns
Copy link
Contributor

/skip-all
The change impacts MC Controller only.

@jianjuns jianjuns merged commit 2e22d2a into antrea-io:main Jun 23, 2022
@tnqn tnqn added the action/release-note Indicates a PR that should be included in release notes. label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes. area/multi-cluster Issues or PRs related to multi cluster.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants