cloudposse / terraform-aws-eks-node-group

Terraform module to provision a fully managed AWS EKS Node Group
https://cloudposse.com/accelerate
Apache License 2.0
90 stars 128 forks source link

Update pet name for new launch template version #119

Closed bwmetcalf closed 2 years ago

bwmetcalf commented 2 years ago

what

why

references

bwmetcalf commented 2 years ago

@nitrocode Could you help move this along? Thanks.

nitrocode commented 2 years ago

What if you do not want the node group to recreate if you update the launch template version ? We update the ami on the launch template all the time and we'd prefer not recreating the node group. I would much rather update our existing node groups after updating the launch template using this module.

https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html

Updating a managed node group

  • A new AMI release version is available for your managed node group. For more information about AMI versions, see these sections:

eksctl upgrade nodegroup --name=node-group-name --cluster=cluster-name

Nuru commented 2 years ago

Closing, because we do not want to force a new node group if we do not have to. You can use terraform taint if you want to force a new node group, but you probably want to use instance refresh instead to simply update the node group rather than create a new one.