Skip to content

Commit 09635a3

Browse files
harshal-shahmax-rocket-internet
authored andcommitted
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`
1 parent f98518f commit 09635a3

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

docs/spot-instances.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -73,28 +73,17 @@ Launch Template support is a recent addition to both AWS and this module. It mig
7373
}
7474
]
7575
76-
worker_groups_launch_template_mixed = [
77-
{
78-
name = "spot-1"
79-
override_instance_types = ["m5.large", "c5.large", "t3.large", "r5.large"]
80-
spot_instance_pools = 3
81-
asg_max_size = 5
82-
asg_desired_size = 5
83-
autoscaling_enabled = true
84-
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
85-
}
86-
]
8776
8877
worker_groups_launch_template = [
8978
{
90-
name = "spot-2"
91-
instance_type = "m4.xlarge"
92-
asg_max_size = 5
93-
asg_desired_size = 5
94-
autoscaling_enabled = true
95-
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
96-
market_type = "spot"
97-
}
79+
name = "spot-1"
80+
override_instance_types = ["m5.large", "m5a.large", "m5d.large", "m5ad.large"]
81+
spot_instance_pools = 4
82+
asg_max_size = 5
83+
asg_desired_capacity = 5
84+
kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=spot"
85+
public_ip = true
86+
},
9887
]
9988
```
10089

0 commit comments

Comments
 (0)