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

Implement agent initiated downstream registration #30

Open
Danil-Grigorev opened this issue May 14, 2024 · 2 comments
Open

Implement agent initiated downstream registration #30

Danil-Grigorev opened this issue May 14, 2024 · 2 comments

Comments

@Danil-Grigorev
Copy link
Contributor

Danil-Grigorev commented May 14, 2024

Fleet provides 2 alternative approaches to cluster registration:

  1. Manager initiated: Currently supported, CAPI creates cluster secret, CAPAF generates the cluster resource. Requires API server accessibility from the management cluster.
  2. Agent initiated: Supported on the manual basis Add support for agent initiated downstream cluster registration #39. Does not require to have direct connection from management to the downstream (child) cluster.

Addon provider is in the position to simplify and automate the flow for ClusterClass based Clusters. Using the Topology Mutation Hook, may allow to extend post<BootstrapProvider>Commands API data field with the necessary commands to deploy the fleet agent in the newly created CAPI Cluster during bootstrap procedure.

Thanks to @richardcase for bringing this to the table.

@Danil-Grigorev
Copy link
Contributor Author

I drafted the thoughts on how it can be implemented here: https://hackmd.io/@bldpkRSnSNqZj73Y_EV0dQ/By6M6fz7R

@Danil-Grigorev
Copy link
Contributor Author

I’ve brainstormed the ideas some more and left a proposal for the CAAPF: https://hackmd.io/@UJaEY_gMRYSWN1nvVVscxQ/Sk5gKsSE0

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

No branches or pull requests

1 participant