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
Resources is an optional field on a container. But if it is specified, then CPU and Memory are required. This doesn't make sense. CPU and Memory should have sensible defaults and not be required.
The text was updated successfully, but these errors were encountered:
That is, if cpu is set, then the required field must be set, and the CPU constraints will be set on the object. If cpu is not set, then we will pass no information on to the implementation.
Okay, it looks like the Scylla/Rudr implementation is incorrect. resources should have been required. I will file a bug there and fix. But I do think that this is the wrong approach; I think resource limits should be optional, and the platform itself should be responsible for sensible defaults.
https://github.com/microsoft/hydra-spec/blob/master/3.component_model.md#resources
Resources is an optional field on a container. But if it is specified, then CPU and Memory are required. This doesn't make sense. CPU and Memory should have sensible defaults and not be required.
The text was updated successfully, but these errors were encountered: