modules/eks-cluster - desired_size value not being picked up by EKS #127
-
A customer asked:
as shown here: UNLESS: Is this expected behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes this is expected. The desired size attribute is setup in this manner so that it can avoid inadvertent terraform drift when using with the cluster autoscale. If you are going for a manual scaling system and not using the cluster autoscaler, the recommendation is to set the |
Beta Was this translation helpful? Give feedback.
-
Credit for this solution goes to @yorinasub17 |
Beta Was this translation helpful? Give feedback.
Yes this is expected. The desired size attribute is setup in this manner so that it can avoid inadvertent terraform drift when using with the cluster autoscale. If you are going for a manual scaling system and not using the cluster autoscaler, the recommendation is to set the
min_size
andmax_size
to the same value and scale that way.