Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Abstract worker pools as terraform module #4

Open
inscapist opened this issue Jan 14, 2021 · 2 comments
Open

WIP: Abstract worker pools as terraform module #4

inscapist opened this issue Jan 14, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@inscapist
Copy link
Owner

inscapist commented Jan 14, 2021

Users should not need to deal with EC2 instances.

expose an interface for users to create a node pool that looks like:

A node pool can run as ondemand or spot-instances

module "worker-pool" {
  source = ".."

  node_pool            = "r6g.medium"
  min_size             = 0
  max_size             = 10
  on_demand_percentage = 0

  equivalent_instance_types = [
    "r6g.large",
    "r5.large",
    "r4.large",
  ]

  target_group_arns      = [] # for egress-ready instances
  cluster_server         = k3s_server._private_dns
  vpc_security_group_ids = module.common.vpc_security_group_ids
  node_pool_tags         = module.common.node_pool_tags
}
@inscapist inscapist added enhancement New feature or request help wanted Extra attention is needed labels Jan 14, 2021
@inscapist
Copy link
Owner Author

Deprioritized, because this might go against the project's goal of simplicity

@inscapist inscapist removed the help wanted Extra attention is needed label Jan 21, 2021
@inscapist
Copy link
Owner Author

inscapist commented Mar 26, 2021

Partially implemented in v0.1.5

  • auto scaling group
  • equivalent_instance_types
  • usage of spot fleet
  • detached worker pool module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant