Skip to content

WIP: feat: move to fleet bundles for aws kubeadm #1248

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

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

Conversation

salasberryfin
Copy link
Contributor

@salasberryfin salasberryfin commented Apr 4, 2025

What this PR does / why we need it:

Deprecate the use of ClusterResourceSet for installing cloud-controller-manager and ebs-csi-driver when deploying AWS+Kubeadm clusters.

Which issue(s) this PR fixes:
Fixes #1144
Fixes #1278
Fixes #1279

Special notes for your reviewer:

The existing Calico HelmApp could not be re-used because AWS requires a specific configuration (encapsulation, bgp, etc.), so a new file is added for AWS-only. As we use selectors on the class that was used to provision the cluster, this will only apply to the CAPA/CABPK scenario.

AWS Cloud Controller Manager provides a Helm chart that does not support some of the parameters required to set a configuration equivalent to the one we use in the current CRS. For now we opted for creating a Fleet Bundle that manages the creation of the resources for AWS CCM. As a follow-up we should probably invest time on helping fixing the existing Helm chart upstream, see https://github.com/kubernetes/cloud-provider-aws/tree/master/charts/aws-cloud-controller-manager.

Checklist:

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

@salasberryfin salasberryfin added kind/enhancement Categorizes issue or PR as related to a new feature. area/testing Indicates an issue related to test labels Apr 4, 2025
@salasberryfin salasberryfin changed the title WIP: feat: move to fleet bundles for ec2 kubeadm WIP: feat: move to fleet bundles for aws kubeadm Apr 4, 2025
@salasberryfin salasberryfin force-pushed the test-e2e-use-fleet-for-aws-ec2 branch 4 times, most recently from 3fd02b6 to 844e997 Compare April 9, 2025 10:28
@salasberryfin salasberryfin force-pushed the test-e2e-use-fleet-for-aws-ec2 branch 6 times, most recently from 34dfe99 to 3f87829 Compare April 11, 2025 08:25
@salasberryfin salasberryfin force-pushed the test-e2e-use-fleet-for-aws-ec2 branch 2 times, most recently from c08089f to e6486ca Compare April 14, 2025 12:52
@salasberryfin salasberryfin force-pushed the test-e2e-use-fleet-for-aws-ec2 branch 5 times, most recently from dcf0609 to c82a9c2 Compare April 16, 2025 07:45
@salasberryfin salasberryfin force-pushed the test-e2e-use-fleet-for-aws-ec2 branch from c82a9c2 to aa71536 Compare April 16, 2025 07:53
@salasberryfin
Copy link
Contributor Author

I'll split this PR to keep it more organized and simplify test validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Indicates an issue related to test kind/enhancement Categorizes issue or PR as related to a new feature.
Projects
None yet
2 participants