Skip to content

WIP: Add Azure kubeadm clusterclass example #1396

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

Closed

Conversation

valaparthvi
Copy link
Contributor

@valaparthvi valaparthvi commented May 27, 2025

kind/enhancement

What this PR does / why we need it:
This PR adds Azure Kubeadm clusterclass example. This is taken from the clusterclass template provided by https://github.com/kubernetes-sigs/cluster-api-provider-azure and modified a little to suite our requirements.

The test is currently flaky and do not work well for Control Plane replicas > 1 (3 for e.g.).
It also does not always work with replicas: 1; the issue might be related to the race condition between CAAPF and Rancher Turtles; because the fleet-agent bundle to be deployed on the workload cluster is continuously applied (deleted and recreated); this problem is fixed when the replica count for CAAPF deployment is brought down to 0 (this change is reverted automatically).

But the race condition is not present for CAPZ RKE2, so it is perhaps Kubeadm specific or has to do with our definition.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1330

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi requested a review from a team as a code owner May 27, 2025 15:37
@valaparthvi valaparthvi changed the title Azure kubeadm clusterclass WIP: Add Azure kubeadm clusterclass example May 27, 2025
@valaparthvi valaparthvi marked this pull request as draft May 27, 2025 15:38
Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi added kind/enhancement Categorizes issue or PR as related to a new feature. area/clusterclass area/capz labels May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/capz area/clusterclass 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.

Add Azure kubeadm ClusterClass example
1 participant