kubernetes-retired/kube-aws

[Question] Launch Template Name in v0.14.0-rc.2

cw-sakamoto opened this issue · 3 comments

I tried kube-aws v0.14.0-rc.2, the name of the launch template does not contain the cluster name and nodepool name, why is that?
It was unnatural because the cluster name was included in launch configuration(clustername-nodepool).

launch template : WorkersLT_zGS9Sdk5WQlJ

This is because launch templates needs to be unique.
#1582

Of course the name of the launch template could be defined as clustername-nodepoolname, the fix tried to address all scenarios. There is nothing that stops you from launching two clusters with the same name and the same worker pool names in an AWS region, and using the clustername-nodepoolname for launch templates would then break. Remember that the launch template name must be unique pr region, not pr zone or VPC.

Remember that the launch template name must be unique pr region, not pr zone or VPC.

I see, I understood. Thanks for your comment!