Uploaded image for project: 'Cloud Dev'
  1. Cloud Dev
  2. CLOUD-51

[PSMDB] fix resorces quotas: no limits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PSMDB 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      it should be possible to set "requests" without limits

      STR:
      apply cr config without limits

          resources:
            limits:
              storage: "1Gi"
            requests:
              cpu: "300m"
              memory: "0.5G" 

      check PSMDB statefulset yaml with following command

      kubectl get -o yaml statefulset/my-cluster-name-rs0
      

      expected result:

              resources:
                requests:
                  cpu: 300m
                  memory: 500M
      

      current result:

              resources:
                limits:
                  cpu: "0"
                  memory: "0"
                requests:
                  cpu: "0"
                  memory: "0"
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                tim.vaillancourt Tim Vaillancourt
                Reporter:
                mykola.marzhan Mykola Marzhan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: