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
          spawner1.png
          108 kB
        2. spawner10.png
          spawner10.png
          124 kB
        3. spawner11.png
          spawner11.png
          108 kB
        4. spawner2.png
          spawner2.png
          102 kB
        5. spawner3.png
          spawner3.png
          110 kB
        6. spawner4.png
          spawner4.png
          91 kB
        7. spawner5.png
          spawner5.png
          102 kB
        8. spawner6.png
          spawner6.png
          144 kB
        9. spawner7.png
          spawner7.png
          164 kB
        10. spawner8.png
          spawner8.png
          139 kB
        11. spawner9.png
          spawner9.png
          162 kB

              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: