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

Elemental CAPI bootstrap application #1015

Closed
anmazzotti opened this issue Sep 22, 2023 · 1 comment · Fixed by rancher-sandbox/cluster-api-provider-elemental#14
Closed
Assignees

Comments

@anmazzotti
Copy link
Contributor

anmazzotti commented Sep 22, 2023

This issue is about applying Bootstrap configs into Elemental hosts.

Within CAPI, any Bootstrap provider will create a bootstrap secret containing two fields: format and value.
According to the CAPI documentation, cloud-init is the default engine, however ignition is also an option.

Ideally Elemental will support both, and the architecture should easily allow the support of new engines, if any will arise.

Also note that from a functional perspective, Elemental must allow end users to apply "plans" into host machines.
In the current elemental-operator this can be done by updating the remote secrets watched by the system-agent.
In CAPI context, the same mechanism used to bootstrap a host, can be exposed to end users to apply additional configurations.

For this purpose we do have few options and we should make a decision:

  1. Rely on the Rancher's system-agent, mapping cloud-init configs into local plans through the Elemental agent, or by configuring the Rancher's system-agent to watch remote secrets.
  2. Rely on the elemental-toolkit. It's capable of applying cloud-init configs already.
  3. Let the new Elemental agent take care of directly applying cloud-init configs.
  4. ???

Also note that none of the proposed solutions seem to cover the ntp cloud-init command that the RKE2 provider is using, so additional support should be implemented for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
1 participant