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

Use gRPC connection from agent to hub #869

Open
qiujian16 opened this issue Mar 6, 2025 · 2 comments
Open

Use gRPC connection from agent to hub #869

qiujian16 opened this issue Mar 6, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@qiujian16
Copy link
Member

Describe the enhancement
Today we each klusterlet agent will have a hub-kubeconfig with limited permission to connect to the hub-apiserver. To better isolate the agent from directly connecting to the hub-apiserver, it worth investigating whether we could provide a gRPC server on the hub that agent register to.

The gRPC server will provides the same registration process and is backed by exiting APIs, e.g. ManagedCluster, ManifestWork... Only connection mechanism is changed, and since we introduce a registration driver interface, it makes it possible to implement a new registration mechanism.

/kind enhancement

@qiujian16 qiujian16 added the enhancement New feature or request label Mar 6, 2025
Copy link
Contributor

openshift-ci bot commented Mar 6, 2025

@qiujian16: The label(s) kind/enhancement cannot be applied, because the repository doesn't have them.

In response to this:

Describe the enhancement
Today we each klusterlet agent will have a hub-kubeconfig with limited permission to connect to the hub-apiserver. To better isolate the agent from directly connecting to the hub-apiserver, it worth investigating whether we could provide a gRPC server on the hub that agent register to.

The gRPC server will provides the same registration process and is backed by exiting APIs, e.g. ManagedCluster, ManifestWork... Only connection mechanism is changed, and since we introduce a registration driver interface, it makes it possible to implement a new registration mechanism.

/kind enhancement

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@qiujian16
Copy link
Member Author

cc @skeeey @morvencao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant