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

Upgrade CAPA to v2.x including v1beta2 CRDs #1832

Closed
5 tasks done
AndiDog opened this issue Jan 5, 2023 · 5 comments
Closed
5 tasks done

Upgrade CAPA to v2.x including v1beta2 CRDs #1832

AndiDog opened this issue Jan 5, 2023 · 5 comments
Assignees
Labels
area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service kind/task provider/cluster-api-aws Cluster API based running on AWS topic/capi

Comments

@AndiDog
Copy link

AndiDog commented Jan 5, 2023

Task

Upgrade CAPA to v2.x including v1beta2 CRDs.

Background

CAPA is currently installed from a custom version (PR). Once that fix landed upstream, we can go ahead upgrading CAPA. Since that involves upgrading to v1beta2 CRDs, we must be careful since a rollback is not easy.

This is required so that operators can be upgraded to use new CRDs as well. In #1469, we only upgraded until v1.5.2 because of this prerequisite.

Hint:

TODOs

  • Upgrade CAPA together with CAPI on one MC;
  • Check if everything is working fine;
  • Create issues for any problems found;
  • Ensure that the next steps are discussed in the team if too many problems are found;
  • Check which CRD CAPI versions are used by our operators and upgrade where needed (e.g. dns-operator-aws - upgrade/migrate CAPI imports to v1beta1 #1328).
@AndiDog
Copy link
Author

AndiDog commented Feb 1, 2023

This took much more effort than expected, and we're not done yet. Progress:

@AndiDog
Copy link
Author

AndiDog commented Feb 6, 2023

We decided to try a workaround for #1932 – only in our fork – as short-time solution. Basically make the subnet ID optional again and test if it works. We will nevertheless get strongly involved in the draft and real solution for re-adding "generate the subnets instead of bring-your-own" in CAPA (will follow up in the other ticket).

@AndiDog
Copy link
Author

AndiDog commented Feb 8, 2023

Another blocker: https://github.com/giantswarm/giantswarm/issues/22689 must be finished, since only then we can release irsa-operator including the switch to CAPA v1beta1 types

@AndiDog
Copy link
Author

AndiDog commented Feb 16, 2023

Regarding https://github.com/giantswarm/giantswarm/issues/22689, we decided to disable pushing new versions to vintage and do the release of irsa-operator. More fixes happened afterwards.

I'm now testing private cluster creation with all the new versions + CAPA v2.x, and then we can finish here.

@AndiDog
Copy link
Author

AndiDog commented Mar 3, 2023

CAPA v2 was well tested incl. on MCs for private cluster support, so we decided to roll out the change (giantswarm/cluster-api-provider-aws-app#154).

@AndiDog AndiDog closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service kind/task provider/cluster-api-aws Cluster API based running on AWS topic/capi
Projects
None yet
Development

No branches or pull requests

2 participants