Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Submarine currently use limit to control resources in CRD.
resources:
limits:
cpu: '1'
memory: 512M
Hope to suggest changing the [ limits ] to [ requests to limits ]. e.g.
resources:
limits:
cpu: '1'
memory: 512M
request:
cpu: 0.5
memory: 100M
This is a more rigorous resource description. Otherwise, the operator will lock all resource limits and requests in [cpu: '1'] and [memory: 512M] in pod.
When adding a notebook, if the resources limits are large but the actual execution python process resources are small, the resource utilization is not high.