mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-27 10:57:25 +02:00
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:
committed by
Max Williams
parent
f98518f050
commit
09635a36b7
@@ -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 = [
|
worker_groups_launch_template = [
|
||||||
{
|
{
|
||||||
name = "spot-2"
|
name = "spot-1"
|
||||||
instance_type = "m4.xlarge"
|
override_instance_types = ["m5.large", "m5a.large", "m5d.large", "m5ad.large"]
|
||||||
asg_max_size = 5
|
spot_instance_pools = 4
|
||||||
asg_desired_size = 5
|
asg_max_size = 5
|
||||||
autoscaling_enabled = true
|
asg_desired_capacity = 5
|
||||||
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
|
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
|
||||||
market_type = "spot"
|
public_ip = true
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user