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

capacity-optimized-prioritized isn't supported by eksctl yet even though it's a valid option for EC2 Spot Instances #3516

Closed
lloydchang opened this issue Apr 3, 2021 · 1 comment
Labels

Comments

@lloydchang
Copy link
Contributor

capacity-optimized-prioritized isn't supported by eksctl yet even though it's a valid option for EC2 Spot Instances according to https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html

Alternatively, you can use the capacity-optimized-prioritized allocation strategy and then set the order of instance types to use from highest to lowest priority. You can set the same priority for different instance types. EC2 implements the instance type priorities on a best-effort basis, but optimizes for capacity first. This is a good option for workloads where the possibility of disruption must be minimized, but also the preference for certain instance types matters. Using priorities is supported only if your fleet uses a launch template. Note that when you set the priority for capacity-optimized-prioritized, the same priority is also applied to your On-Demand Instances if the AllocationStrategy is set to prioritized.

It appears that eksctl #1883 and https://github.com/weaveworks/eksctl/pull/1883/files#diff-7b28fc939dfa83d6e1aae36e225442c39303a854ec900682e7c5515a7d29edecR182
are missing capacity-optimized-prioritized.

lloydchang added a commit to lloydchang/eksctl that referenced this issue Apr 4, 2021
lloydchang added a commit to lloydchang/eksctl that referenced this issue Apr 4, 2021
add capacity-optimized-prioritized (eksctl-io#3516)
lloydchang added a commit to lloydchang/eksctl that referenced this issue Apr 7, 2021
eksctl-io#3516 eksctl-io#3519

Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
cPu1 added a commit that referenced this issue Apr 7, 2021
…ed-3516

fix(types.go): add capacity-optimized-prioritized (#3516)
cPu1 pushed a commit to cPu1/eksctl that referenced this issue Apr 7, 2021
add capacity-optimized-prioritized (eksctl-io#3516)
cPu1 added a commit to cPu1/eksctl that referenced this issue Apr 7, 2021
eksctl-io#3516 eksctl-io#3519

Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
@cPu1 cPu1 closed this as completed Apr 8, 2021
@cPu1
Copy link
Collaborator

cPu1 commented Apr 9, 2021

Closed by #3519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants