es-operator
es-operator copied to clipboard
Update spec.Replicas when scaling.MinReplicas is greater
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
.