<p>I am initializing a kubernetes cluster with <code>Terraform</code>, I created an <code>aws_autoscaling_group</code> for autoscaling, but I want to protect the master node from autoscaling. I haven't found a setting in the official documentation that could solve my problem.</p>
<p>Thank you for your help.</p>

nalou
<p>In your Terraform <code>aws_autoscaling_group </code> just set <code>min_size</code>, <code>max_size</code> and <code>desired_capacity</code> all to the same value. If you have 3 master nodes set all of them to 3. This will effectively disable autoscaling, but will always keep you cluster with 3 master nodes.</p>
