mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-28 12:11:48 +01:00
Allow launch template spot instances without mixed policy (#463)
* Add option to enable spot without MixedInstancePolicy * Update docs
This commit is contained in:
committed by
Max Williams
parent
c9986f5e01
commit
fb71eaf6ff
@@ -84,6 +84,18 @@ Launch Template support is a recent addition to both AWS and this module. It mig
|
||||
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
|
||||
}
|
||||
]
|
||||
|
||||
worker_groups_launch_template = [
|
||||
{
|
||||
name = "spot-2"
|
||||
instance_type = "m4.xlarge"
|
||||
asg_max_size = 5
|
||||
asg_desired_size = 5
|
||||
autoscaling_enabled = true
|
||||
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
|
||||
market_type = "spot"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
## Important issues
|
||||
|
||||
Reference in New Issue
Block a user