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

feat: implement managed control planes #723

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Unix4ever
Copy link
Member

Cluster template now has

managed:
  enable: true|false

configuration in the control planes model.
Creating managed control planes will be possible only if the Omni account is configured with the provider to use for managed control planes, otherwise resource validation won't allow creating the machine set with such configuration.

Also drop MachineRequestSet allocation mode from the machine set, remove source there, as it doesn't make much sense: for managed control planes it should always use the machine request set name with the same name as the machine set.

Config patches for managed mode are going to be added in the follow-up PRs.

Fixes: #705

@Unix4ever Unix4ever force-pushed the implement-managed-control-planes-controller branch 8 times, most recently from ec410d1 to 28b504d Compare November 5, 2024 23:10
cmd/omni/cmd/cmd.go Outdated Show resolved Hide resolved
@Unix4ever Unix4ever force-pushed the implement-managed-control-planes-controller branch 4 times, most recently from e1234e4 to f4867d3 Compare November 12, 2024 17:08
Cluster template now has
```
managed:
  enable: true|false
```
configuration in the control planes model.
Creating managed control planes will be possible only if the Omni
account is configured with the provider to use for managed control
planes, otherwise resource validation won't allow creating the machine
set with such configuration.

Also drop `MachineRequestSet` allocation mode from the machine set,
remove source there, as it doesn't make much sense: for managed control
planes it should always use the machine request set name with the same
name as the machine set.

Config patches for managed mode are going to be added in the follow-up
PRs.

Fixes: siderolabs#705

Signed-off-by: Artem Chernyshev <[email protected]>
@Unix4ever Unix4ever force-pushed the implement-managed-control-planes-controller branch from f4867d3 to 18095de Compare November 13, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create a controller for handling machine request set which is created for managed control planes
3 participants