es-operator icon indicating copy to clipboard operation
es-operator copied to clipboard

Update spec.Replicas when scaling.MinReplicas is greater

Open mikkeloscar opened this issue 5 years ago • 0 comments

In the case where spec.Replicas < scaling.MinReplicas the spec.Replicas is only automatically updated if there is a scaling operation (UP/DOWN). This can cause confusion when looking at the EDS because status.Replicas would be greater than spec.Replicas and everything would be stable.

Would be helpful if the operator automatically adjusted spec.Replicas to at least scaling.MinReplicas when scaling is enabled and scaling.MinReplicas > spec.Replicas.

mikkeloscar avatar Apr 26 '19 16:04 mikkeloscar