remove the launch template mixed variable from examples (#545)

* Add disclaimer for launch template mixed

Or maybe it is better to remove this variable altogether.

* Removing the mixed variable altogether

And updating the existing variable `worker_groups_launch_template`
This commit is contained in:
Harshal Shah
2019-10-04 11:57:37 +02:00
committed by Max Williams
parent f98518f050
commit 09635a36b7

View File

@@ -73,28 +73,17 @@ Launch Template support is a recent addition to both AWS and this module. It mig
}
]
worker_groups_launch_template_mixed = [
{
name = "spot-1"
override_instance_types = ["m5.large", "c5.large", "t3.large", "r5.large"]
spot_instance_pools = 3
asg_max_size = 5
asg_desired_size = 5
autoscaling_enabled = true
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"
}
name = "spot-1"
override_instance_types = ["m5.large", "m5a.large", "m5d.large", "m5ad.large"]
spot_instance_pools = 4
asg_max_size = 5
asg_desired_capacity = 5
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
public_ip = true
},
]
```