Last active
August 16, 2020 12:49
-
-
Save arashkaffamanesh/9fcdc1d22f5a71c08aefc64bd04e20ad to your computer and use it in GitHub Desktop.
Revisions
-
arashkaffamanesh revised this gist
Aug 16, 2020 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,6 @@ worker_groups_launch_template = [ kubelet_extra_args = "--node-labels=node.kubernetes.io/lifecycle=spot" public_ip = true }, { name = "on-demand" instance_type = "t3a.medium" @@ -21,6 +20,5 @@ worker_groups_launch_template = [ public_ip = true # additional_security_group_ids = [aws_security_group.worker_group_mgmt_one.id] }, ] } -
arashkaffamanesh created this gist
Aug 16, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ worker_groups_launch_template = [ { name = "spot-1" # override_instance_types = ["m5.large", "m5a.large", "m5d.large", "m5ad.large"] override_instance_types = ["t3a.medium", "t3.medium"] spot_instance_pools = 2 asg_max_size = 3 asg_desired_capacity = 1 kubelet_extra_args = "--node-labels=node.kubernetes.io/lifecycle=spot" public_ip = true }, /* { name = "on-demand" instance_type = "t3a.medium" additional_userdata = "echo foo bar" asg_max_size = 2 asg_min_size = 1 asg_desired_capacity = 1 kubelet_extra_args = "--node-labels=kubernetes.io/lifecycle=monitoring" public_ip = true # additional_security_group_ids = [aws_security_group.worker_group_mgmt_one.id] }, */ ] }