Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-2657

Notebook pod has incorrect resource request/limit

XMLWordPrintable

    • MODH Sprint 37

      Description of problem:

      Regression - Notebook size dropdown is not working. Spawned pod has incorrect resource request/limit

      Whenever I spawn a notebook, I select the size (e.g. medium 3cpu request, 6 cpu limit, 24gb RAM), but it's spawning with the default resources (e.g. 1 cpu request, 2 cpu limit, 4 gb ram request, 8gb ram limit).  

      Prerequisites (if any, like setup, operators/versions):

      Build v1.5.0-4

      Steps to Reproduce

      1. Open JH Spawner
      2. Choose size other than default (e.g. medium)
      3. Start Server
      4. Open rhods-notebook namespace and look at pod resources

      Actual results:

      Yaml for the pod specifies

        containers:
          - resources:
              limits:
                cpu: '2'
                memory: 8Gi
              requests:
                cpu: '1'
                memory: 4Gi

        

      Expected results:

      Yaml for the spawned pod should match the resources I picked from the dropdown.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details: v 1.5.0-4

      Workaround: None

      Additional info:

        1. spawner1.png
          108 kB
          Luca Giorgi
        2. spawner10.png
          124 kB
          Luca Giorgi
        3. spawner11.png
          108 kB
          Luca Giorgi
        4. spawner2.png
          102 kB
          Luca Giorgi
        5. spawner3.png
          110 kB
          Luca Giorgi
        6. spawner4.png
          91 kB
          Luca Giorgi
        7. spawner5.png
          102 kB
          Luca Giorgi
        8. spawner6.png
          144 kB
          Luca Giorgi
        9. spawner7.png
          164 kB
          Luca Giorgi
        10. spawner8.png
          139 kB
          Luca Giorgi
        11. spawner9.png
          162 kB
          Luca Giorgi

              vpavlin@redhat.com Vaclav Pavlin (Inactive)
              cchase@redhat.com Chris Chase
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: