Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-1175

The resource should be configured as [requests and limits] instead of single [limits]

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chenxiang cdmikechen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: