Open pyogesh2 opened 5 years ago
I would recommend to update the worker/master flavors via the terraform.tfvars
file
master = {
count=3
flavor_name="medium_4_8"
}
worker = {
count=3
flavor_name="medium_2_4"
}
We also have a rolling mechanism in place. So what should happen when you do the first terraform apply
, the first master and the first worker is updated. You need then to run apply
as long as all the machines have been replaced.
I have setup up the cluster using Kubify. Initially, the worker type of the VM's were m4.large y default and the Master nodes were 3, Worker nodes were 10. We want the vm types to be m4.4xlarge. I updated the file- https://github.com/gardener/kubify/blob/master/modules/vms/versions.tf with the vm type as m4.4xlarge and increased the worker nodes to 12. Executed
terraform init variant
,terraform plan variant
andterraform apply varaint
, After that checked, 2 nodes of master and 2 nodes of worker were created with m4.4xlarge and the remaining 1 master node and 10 nodes were still of the type m4.large.Ideally, all the master and worker nodes should of type m4.4xlarge as per the configuration. But thats not happening. Kindly check. Thanks !