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

Support the use of EC2 spot instances as worker nodes #228

Closed
cmdallas opened this issue May 25, 2020 · 9 comments
Closed

Support the use of EC2 spot instances as worker nodes #228

cmdallas opened this issue May 25, 2020 · 9 comments
Labels
enhancement New feature or request

Comments

@cmdallas
Copy link

What problem are you facing?

The current worker node spec does not support the use of spot instances.

How could Crossplane help solve your problem?

Expose support for the use of EC2 spot fleets as worker nodes.

@cmdallas cmdallas added the enhancement New feature or request label May 25, 2020
@negz
Copy link
Member

negz commented Jun 2, 2020

Thanks for the feature request @cmdallas! One potential snag here is that we plan to move away from using CloudFormation under the hood in favour of managed node groups as part of #137. It seems like managed node groups don't currently support spot instances per aws/containers-roadmap#583.

@muvaf
Copy link
Member

muvaf commented Jun 3, 2020

FWIW, it seems like AWS team is currently working on this feature, you can see the issue in We're working on it column here https://github.com/aws/containers-roadmap/projects/1

We'll likely begin the upgrade of EKS to v1beta1 quality very soon but my gut says we'll complete it before the spot instance support. Though it should be pretty straight-forward to add the spot instance support after v1beta1 once AWS supports it.

@muvaf
Copy link
Member

muvaf commented Sep 30, 2020

We have v1beta1 level support for EKS but it seems AWS still hasn't implemented support for spot instances in the official API aws/containers-roadmap#583

@bdols
Copy link

bdols commented Feb 4, 2021

Sounds like AWS added spot support in aws/containers-roadmap#583

@muvaf
Copy link
Member

muvaf commented Feb 5, 2021

Seems like no API changes were required, so we should get this support without any code change. It'd be great if someone can test this so that we can close the issue.

@ytsarev
Copy link
Contributor

ytsarev commented Mar 18, 2021

@muvaf can't find a way to provide SPOT capacity type similar to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group#capacity_type

Looks like there is not matching field in https://doc.crds.dev/github.com/crossplane/provider-aws/eks.aws.crossplane.io/NodeGroup/v1alpha1@v0.17.0 .

Am I missing something?

@muvaf
Copy link
Member

muvaf commented Mar 19, 2021

@ytsarev I think you're right, seems we don't have capacityType. Though in order to add it, we need to bump the AWS SDK v2 version.

@ayushghosh
Copy link

Any plans to implement this?

@haarchri haarchri mentioned this issue Oct 2, 2021
2 tasks
@haarchri
Copy link
Member

@muvaf can we Close this Issue ? Because we merged #858

@muvaf muvaf closed this as completed Oct 28, 2021
tektondeploy pushed a commit to gtn3010/provider-aws that referenced this issue Mar 12, 2024
Fixes crossplane-contrib#228

Signed-off-by: Yury Tsarev <yury@upbound.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants