Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25273

Edit resource limits wizard: memory limit is erroneously shown as "MiB" where it should be "bytes"

XMLWordPrintable

    • 8

      steps:

      1. ASSERT: make sure that you have an application with a service and replication controller running in OpenShift (ex. create an app with the nodejs-mongo-persistent template)
      2. ASSERT: make sure that your memory request limit is in bytes:
      3. EXEC: in OpenShift explorer, select your project
      4. EXEC: in "Properties" view, select "Deployments" tab and select the last entry
      5. EXEC: pick "Edit" in the context menu to it
      6. ASSERT: replication controller is opened in the editor
      7. EXEC: search (Ctrl+F) "limits" and make sure it has an entry for memory limits that has no unit
                            "resources" : {
                                "limits" : {"memory" : "512"},
                            },
          
      8. EXEC: in OpenShift Explorer: select the service for your application and pick "Edit Resource Limits..." in the context menu
      9. ASSERT: Edit resource limits wizard shows up

      Result:
      Memory > Limits show MiB as unit

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: