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

Support list-watch from edgecore for applications on the edge #1758

Closed
fisherxu opened this issue May 30, 2020 · 2 comments · Fixed by #2508
Closed

Support list-watch from edgecore for applications on the edge #1758

fisherxu opened this issue May 30, 2020 · 2 comments · Fixed by #2508

Comments

@fisherxu
Copy link
Member

Why do we need it

Some applications running on the edge side need to connect to the k8s master through list-watch interface, but on the edge it cannot directly connect to the k8s master. So we need forward the list-watch requests to the k8s master through the cloud-side channel.

@GsssC
Copy link
Member

GsssC commented Jun 24, 2020

For my view, there are two methods to implement :

1. The first way

  • how to handle list request
    image

  • how to handle watch request
    image

Advantage:
- client could list watch all type source from edge.
Disadvantage:
- architecture complex
- no reuse of existing cloud-edge channel

2. The second way , reuse cloud-edge channel

  • how to handle list request

image

  • how to handle watch request

image

Advantage:
- reuse of existing cloud-edge channel
Disadvantage:
- we need add codes from cloudcore to edgecore for supporting proxy a specific type of resource like crd

3. QUESTION

  1. do we need to support listwatching all resource on edge?**

@stale
Copy link

stale bot commented Dec 7, 2020

Hello 👋 Looks like there was no activity on this issue for last 90 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for 60 days, this issue will be closed (we can always reopen an issue if we need!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants