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

Handle clusterctl move issue with AWSMachinePools #1280

Closed
AverageMarcus opened this issue Jul 28, 2022 · 1 comment
Closed

Handle clusterctl move issue with AWSMachinePools #1280

AverageMarcus opened this issue Jul 28, 2022 · 1 comment
Assignees
Labels
area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service blocked-upstream kind/task provider/cluster-api-aws Cluster API based running on AWS topic/capi

Comments

@AverageMarcus
Copy link
Member

AverageMarcus commented Jul 28, 2022

See upstream issue: kubernetes-sigs/cluster-api-provider-aws#3624

It's currently not possible to run clusterctl move against a cluster that has AWSMachinePools that have been reconciled. The spec.awsLaunchTemplate.rootVolume.deviceName property is populated when the Launch Template is created in AWS but the admission webhook on the target cluster enforces this to not be set on creation.

Manual intervention can work around this by removing the deviceName property (it isn't reconciled again post-creation) which would then allow clusterctl move to perform correctly. For not we'll need to handle this in mc-bootstrap.

Long-term an API change is needed in CAPA, as tracked by the above linked issue.

@AverageMarcus AverageMarcus added topic/capi provider/cluster-api-aws Cluster API based running on AWS team/hydra area/kaas Mission: Cloud Native Platform - Self-driving Kubernetes as a Service blocked-upstream kind/task labels Jul 28, 2022
@AverageMarcus
Copy link
Member Author

Upstream PR merged and release targeted for v2.0.0

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 blocked-upstream kind/task provider/cluster-api-aws Cluster API based running on AWS topic/capi
Projects
None yet
Development

No branches or pull requests

1 participant