Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1590

Operator configures both resource requests and limits when only limits are specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • 0.9.0
    • 0.8.0
    • Operator
    • None
    • Hide

      Build and install latest Kogito operator from sources.
      Deploy CR:

      apiVersion: app.kiegroup.org/v1alpha1
      kind: KogitoApp
      metadata:
        name: example-springboot
      spec:
        runtime: springboot
        build:
          gitSource:
            uri: https://github.com/kiegroup/kogito-examples
            contextDir: jbpm-springboot-example
          incremental: true
          imageVersion: "0.9.0-rc2"
        resources:
          limits:
            memory: 1Gi
      

      Wait until application is built and deployed.
      Check application pod yaml, both requests and limits are specified there, with value 1Gi

      Show
      Build and install latest Kogito operator from sources. Deploy CR: apiVersion: app.kiegroup.org/v1alpha1 kind: KogitoApp metadata: name: example-springboot spec: runtime: springboot build: gitSource: uri: https://github.com/kiegroup/kogito-examples contextDir: jbpm-springboot-example incremental: true imageVersion: "0.9.0-rc2" resources: limits: memory: 1Gi Wait until application is built and deployed. Check application pod yaml, both requests and limits are specified there, with value 1Gi
    • 2020 Week 13-15 (from Mar 23)

    Description

      When user defines only resource limits in Kogito Custom resource then Kogito operator configures both resource requests and limits for application (with same value).

      Expected behaviour is that only limits are configured.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-zanini Ricardo Zanini Fernandes
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: