stefanprodan / k8s-scw-baremetal

Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
MIT License
177 stars 58 forks source link

Possibility of choosing the size of the worker #6

Closed perriea closed 6 years ago

perriea commented 6 years ago

Hi,

Currently the size of the master and also the size of the node worker. I would like us to change that.

I propose to create a new variable :

variable "server_type_node" {
  default     = "C1"
  description = "Use C1 for arm, ARM64-2GB for arm64 and C2S for x86_64"
}

In a classic command this gives :

terraform apply -var region=par1 -var arch=x86_64 -var server_type=C2M -var server_type_node=C2S -var nodes=2 -var weave_passwd=ChangeMe -var k8s_version=stable-1.9 -var docker_version=17.03.0~ce-0~ubuntu-xenial

Does this interest you ? If yes, I can propose a PR if you wish.

Thanks.