aws / aws/aws-cdk

CDK: Support EKS Managed Node Group EDP discounts for spot

Open
#28,492 4 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-eks @aws-cdk/aws-eks-v2-alpha closed-for-staleness effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Add ability to inject context id to enable EDP discounts for spot for EKS Managed Node Group (in CDK Typescript).

### Use Case

I am unable to inject relevant context id for EKS manage node group to enable EDP discounts for spot instances. Used method cluster.addNodegroupCapacity(...) and passing parameter of launchTemplateSpec.

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.99.1

### Environment details (OS name and version, etc.)

Linux

Contributor guide

Open the contributing guide

Research direction

Start at cluster.addNodegroupCapacity(...) and its launchTemplateSpec handling in the TypeScript CDK implementation, then trace how a context ID could reach an EKS managed node group. Done means the relevant context ID can be supplied for spot capacity and the behavior is covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.