Space Cloud provides a mechanism to restrict the resources each task can consume. These limits let you optimize your cluster resources.
The total amount of resources required to run the service would be the sum of the resource required by all tasks combined.
Currently, you can restrict the following resources:
Space Cloud doesn’t yet support restricting disk space.
Space Cloud always restricts resources by default. While these work for most use cases, you might want to tweak them as per your needs. Here are the default restrictions Space Cloud applies.
CPU | Memory |
---|---|
0.1 | 100 MBs |
In Kubernetes, the resource restrictions are implemented as Resource Requests. You can read more about it here.