-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
mixed_instances_policy for managed node groups #1547
Comments
for self managed workers you can check this example
|
@daroga0002 I'm sorry, I was too unspecific and forgot to mention that I refer to |
I think you can also make it over node groups as here is some code:
I dont remember exactly so this require some testing |
@daroga0002 Yup, these are the instance types. They are working (at least they are listed on AWS in the node groups). I'm refering to the instances_distribution which is the percentage of SPOT and On-Demand instances you want to launch. If I see correctly, it's only |
nope, AWS Node groups have own api which on backend is using a AWS autoscaling, but you cannot influence it. Any changes directly to autoscaling is just a unsupported by AWS hack There was some similar discussion under #1525 |
Ah, that's too bad. At this point, I don't want to switch to worker groups so I'll probably manually edit the ASG, I guess. Well, thanks a lot for clarifying it! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
If I understand correctly, currently it is only possible to specify mixed_instances_policy for self-managed worker groups. For managed node groups, it is only possible to set all instances to either ON_DEMAND or SPOT. As mixed_instances_policy is an option for managed node groups in AWS, it would be a nice feature to add.
The text was updated successfully, but these errors were encountered: