We want to start allowing deploys with Singularity Requests that have an empty instances field and instead of failing to deploy, those requests will take on the instance count of the existing Singularity Request.
The new code path behind the config value allowSettingRequestInstances will check checkBadRequest for both the new request has empty instances and the existing request being empty/empty instances. If the existing request isn't empty && doesn't have an empty instances field and the current request has empty instances, then the current request is updated to have the existing request's instance count.
We want to start allowing deploys with Singularity Requests that have an empty
instances
field and instead of failing to deploy, those requests will take on the instance count of the existing Singularity Request.The new code path behind the config value
allowSettingRequestInstances
will check checkBadRequest for both the new request has empty instances and the existing request being empty/empty instances. If the existing request isn't empty && doesn't have an emptyinstances
field and the current request has emptyinstances
, then the current request is updated to have the existing request's instance count.