You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you invoke scaleOut with the below payload, which is the exact cluster layout returned by recommendation call for same resource number, you get an error 400 (could not recommend cluster with the requested resources). However if you set "sumNodes": 1 for t3.medium spot pool you will get error 500 (error: &errors.errorString{s:"there's already enough resources in the cluster. Total resources available: CPU: 4, Mem: 8"}). In case you decrease desiredMem = 3 you'll get the same layout recommendation.
It would desirable to have same behaviour in each case, either return the same clusterLayout or return the same error code and message, since in each case you have enough resources in your cluster.
If you invoke scaleOut with the below payload, which is the exact cluster layout returned by recommendation call for same resource number, you get an error 400 (could not recommend cluster with the requested resources). However if you set "sumNodes": 1 for t3.medium spot pool you will get error 500 (error: &errors.errorString{s:"there's already enough resources in the cluster. Total resources available: CPU: 4, Mem: 8"}). In case you decrease desiredMem = 3 you'll get the same layout recommendation.
It would desirable to have same behaviour in each case, either return the same clusterLayout or return the same error code and message, since in each case you have enough resources in your cluster.
The text was updated successfully, but these errors were encountered: