Skip to content

feat(chart): expose core CAPI controller replicas via Helm values - #2813

Open
aeltai wants to merge 1 commit into
rancher:mainfrom
aeltai:feat/core-capi-replicas
Open

aeltai wants to merge 1 commit into
rancher:mainfrom
aeltai:feat/core-capi-replicas

Conversation

@aeltai

@aeltai aeltai commented Sep 9, 2026 •

Copy link
Copy Markdown

Summary

  • Expose cluster-api-operator.cluster-api.core.replicas in the Turtles Helm chart so the core CAPIProvider sets spec.deployment.replicas for capi-controller-manager.
  • Optionally pass through nodeSelector, tolerations, and affinity to CAPIProvider.spec.deployment.
  • Default remains replicas: 1 (no behavior change for existing installs beyond explicitly setting the existing API default).

Fixes #2812

Test plan

  • helm template with default values renders deployment.replicas: 1 on the core CAPIProvider
  • helm template --set cluster-api-operator.cluster-api.core.replicas=2 renders replicas: 2
  • Upgrade/install with replicas=2 results in capi-controller-manager Deployment with 2 ready pods and a single leader

@aeltai
aeltai requested a review from a team as a code owner September 9, 2026 12:46
@anmazzotti anmazzotti added kind/enhancement Categorizes issue or PR as related to a new feature. area/chart labels Sep 10, 2026
@anmazzotti

Copy link
Copy Markdown
Contributor

@aeltai Thank you for the contribution. May you please sign the commit?

Allow configuring CAPIProvider.spec.deployment.replicas (and optional
scheduling fields) for the core cluster-api provider so capi-controller-manager
can run with multiple replicas for HA.

Fixes rancher#2812

Signed-off-by: Ala Eddin Eltai <ala.eltai@suse.com>
@aeltai
aeltai force-pushed the feat/core-capi-replicas branch from 9dbaf88 to 9c7032d Compare September 10, 2026 13:17
@aeltai

aeltai commented Sep 10, 2026

Copy link
Copy Markdown
Author

Signed the commit with GPG — thanks @anmazzotti.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/chart kind/enhancement Categorizes issue or PR as related to a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFE] Allow scaling core CAPI controller-manager replicas for HA

2 participants