Allow launch template spot instances without mixed policy (#463)

* Add option to enable spot without MixedInstancePolicy

* Update docs
This commit is contained in:
Tarek Abdel Sater
2019-08-06 19:18:06 +03:00
committed by Max Williams
parent c9986f5e01
commit fb71eaf6ff
4 changed files with 22 additions and 0 deletions

View File

@@ -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