Skip to content

Add control plane count selection to cluster creation form#565

Open
mgrzybek wants to merge 9 commits into
masterfrom
feat/cp-number
Open

Add control plane count selection to cluster creation form#565
mgrzybek wants to merge 9 commits into
masterfrom
feat/cp-number

Conversation

@mgrzybek

Copy link
Copy Markdown
Contributor

Allow users to choose between 1 (single) or 3 (HA, default) control plane nodes when creating a Kubernetes cluster.

  • API: add control_plane_count field (choices: 1 or 3, default: 3) to CreateKubernetesClusterSerializer and propagate it through create_cluster() and _build_cluster_spec() as controlPlaneMachineCount in the CRD spec
  • Quota calculator: accept an explicit control_plane_count that overrides the template value when calculating required resources
  • UI: add inline radio buttons (1 / 3 HA) after the control plane size selector; defaults to 3 on new clusters

Requires azimuth-capi-operator with azimuth-cloud/azimuth-capi-operator#587 merged and released.

Allow users to choose between 1 (single) or 3 (HA, default) control
plane nodes when creating a Kubernetes cluster.

- API: add `control_plane_count` field (choices: 1 or 3, default: 3)
  to `CreateKubernetesClusterSerializer` and propagate it through
  `create_cluster()` and `_build_cluster_spec()` as
  `controlPlaneMachineCount` in the CRD spec
- Quota calculator: accept an explicit `control_plane_count` that
  overrides the template value when calculating required resources
- UI: add inline radio buttons (1 / 3 HA) after the control plane size
  selector; defaults to 3 on new clusters

Requires azimuth-capi-operator with azimuth-cloud/azimuth-capi-operator#587 merged and released.
@mgrzybek mgrzybek requested a review from a team as a code owner April 15, 2026 09:26
Comment thread api/azimuth/scheduling/calculator.py Outdated
mgrzybek and others added 6 commits May 6, 2026 17:22
Signed-off-by: Mathieu Grzybek <mathieu@stackhpc.com>
Signed-off-by: Mathieu Grzybek <mathieu@stackhpc.com>
Signed-off-by: Mathieu Grzybek <mathieu@stackhpc.com>
Signed-off-by: Mathieu Grzybek <mathieu@stackhpc.com>
@mgrzybek mgrzybek requested a review from m-bull May 13, 2026 12:23
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

Successfully merging this pull request may close these issues.

2 participants