Project

General

Profile

Idea #9617

Updated by Brett Smith almost 8 years ago

The runtime_constraints of a ContainerRequest must include a @vpcus@ field.    @vpcus@ is a number of CPU cores, so it must be a positive integer.    The API server must validate this on every create and update of a ContainerRequest.    If a request tries to set @ram@ to an unacceptable value, the server must reject the request with HTTP error code 422, and the response JSON should include an error message close to "runtime_constraints vcpus must be a positive integer."

Back