cdmikechen created SUBMARINE-1175:
-------------------------------------

             Summary: The resource should be configured as [request and limit] 
instead of single [limit]
                 Key: SUBMARINE-1175
                 URL: https://issues.apache.org/jira/browse/SUBMARINE-1175
             Project: Apache Submarine
          Issue Type: Improvement
            Reporter: cdmikechen


Submarine currently use *limit* to control resources in CRD.
{code}
resources:
  limits:
    cpu: '1'
    memory: 512M
{code}

Hope to suggest changing the [*limit*] to [*request* to *limit*]. e.g.
{code}
resources:
  limits:
    cpu: '1'
    memory: 512M
  request:
    cpu: 0.5
    memory: 100M
{code}

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.




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to