terraform-aws-kubernetes icon indicating copy to clipboard operation
terraform-aws-kubernetes copied to clipboard

Feature request: Custom node configuration

Open aholbreich opened this issue 6 years ago • 1 comments

Even i've not successed to setup running cluster right now it looks like there is only predefined node configuration roles. Master, etcd and workers have their exclusive nodes. Here example config, that also points to that.

  tectonic_aws_etcd_ec2_type = "t2.medium"
  tectonic_aws_worker_ec2_type = "t2.medium"
  tectonic_aws_master_ec2_type = "t2.medium"

  tectonic_etcd_count = "0"
  tectonic_master_count = "1"
  tectonic_worker_count = "2"

I can understand that this is maybe preferable setup for larger clusters, but for smaller teams it might be to much and maybe, one can save nodes and cost, by assigning master, etcd, and workers to same nodes. Do you tend to disagree probably and there are no plans to allow such kind of setup? Or would int be possible to include more flexible cluster config?

aholbreich avatar Oct 06 '17 16:10 aholbreich

The Tectonic installer does not currently offer these kinds of configurations for AWS. Typically it is not advisable to host etcd on worker nodes since controlling etcd means you control the cluster and workers may host untrusted workloads. A master could share a host with etcd (in fact that is how we configure bare-metal installations by default) but overall, the number of master nodes is independent of the size of the etcd cluster and it introduces extra complexity to support this configuration.

Cc @robszumski

squat avatar Oct 06 '17 19:10 squat