cds-snc / notification-planning-core

Project planning for GC Notify Core Team
0 stars 0 forks source link

Investigate Karpenter using Launch Templates #224

Closed ben851 closed 5 months ago

ben851 commented 7 months ago

Description

As an operator of GC Notify I want our on demand and spot instance configurations to be in sync to avoid configuration drift, and ensure the reliability of notify.

WHY are we building?

Karpenter, which provisions the spot instances for autoscaling uses a different node configuration than what we have in terraform. This has lead to problems (IMDSv2). It would be nice if we could create a launch template in terraform that is referenced by both EKS in TF and Karpenter so that we can be sure the nodes are the same.

WHAT are we building?

Confirm that Karpenter can leverage Launch Templates Implement a common launch template

VALUE created by our solution

Reduced configuration drift, improved reliability

Acceptance Criteria

QA Steps

ben851 commented 5 months ago

Closing in favour of $#246