openyurtio / openyurt

OpenYurt - Extending your native Kubernetes to edge(project under CNCF)
https://openyurt.io
Apache License 2.0
1.68k stars 388 forks source link

proposal: Node-level Traffic Reuse Capability #2060

Open zyjhtangtang opened 1 month ago

zyjhtangtang commented 1 month ago

What type of PR is this?

/kind documentation /kind design

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 56.01%. Comparing base (3713163) to head (5f68ca0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2060 +/- ## ========================================== - Coverage 56.09% 56.01% -0.08% ========================================== Files 186 186 Lines 18092 18092 ========================================== - Hits 10149 10135 -14 - Misses 6910 6922 +12 - Partials 1033 1035 +2 ``` | [Flag](https://app.codecov.io/gh/openyurtio/openyurt/pull/2060/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openyurtio) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/openyurtio/openyurt/pull/2060/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openyurtio) | `56.01% <ø> (-0.08%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openyurtio#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

rambohe-ch commented 1 month ago

@zyjhtangtang The idea in this proposal is amazing. I think that it is a very useful feature for OpenYurt. because this feature can provide the following pros:

  1. reduce nearly 50% public network traffic(service and endpointslice resource) between cloud and edge
  2. mitigate overhead of kube-apiserver component, because nearly 50% watch connections are reduced.
  3. optimize local cache for yurthub, only one copy of service/endpointslice is needed to be stored on local disk, instead store one copy for each client.
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud