Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created February 12, 2019 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1ambda/d1762d6a854f445ad8e902f676019326 to your computer and use it in GitHub Desktop.
Save 1ambda/d1762d6a854f445ad8e902f676019326 to your computer and use it in GitHub Desktop.
worker_group_launch_template_count = 2
worker_groups_launch_template = [
{
# Jupyter Pod 을 위한 Spot 인스턴스 그룹
name = "ig-01"
instance_type = "c5.xlarge"
override_instance_type = "c5.2xlarge"
kubelet_extra_args = "--node-labels=eks-instance-group=ig-01,eks-compute-type=cpu"
},
{
# System Pod 을 위한 On-demand 인스턴스 그룹
name = "ig-02"
instance_type = "t3.medium"
...
kubelet_extra_args = "--node-labels=eks-instance-group=ig-02,eks-compute-type=none"
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment