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

Bootstrap fleet agent on the ClusterClass provisioned cluster #44

Open
2 of 6 tasks
Danil-Grigorev opened this issue May 24, 2024 · 0 comments
Open
2 of 6 tasks

Comments

@Danil-Grigorev
Copy link
Contributor

Danil-Grigorev commented May 24, 2024

We need to add support for injecting agent installation using Cluster Class templating with topology mutation hook. To achieve
this, an extension config needs to be deployed. The should help with populating certificate into the manifest.

Initially, we can explore using generated cluster registration service account certificate for this purpose.

  • Add cluster registration SA and secret for APIServerCA value defaulting
  • Expose APIServerCA and APIServerURL in FleetAddonConfig CR to use in automatic install

Additionally, we need to deploy a backend that serves on endpoints exposed in the topology mutation hook. This backend should be able to support in-place patching for Kubeadm and RKE2 bootstrap templates.

  • Implement topology mutating hook server.
  • Implement topology mutating hook endpoints.
  • Implement in-place patches for the bootstrap configuration.
  • Support automatic templating for the fleet agent including required taint tolerations.
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