Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2242

[m5] Day 2 orchestrator cr change for sonataflowplatform resources does not propagate

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

      Description of the problem:

      Changing the sonataflow platform resources in the Orchestrator CR post deployment (day 2) does not propagate to the sonataflow-platform resource.

      How reproducible:

      100%

      Steps to reproduce:

      1. Deploy Orchestrator operator m5

      2. Deploy orchestrator resource 

      oc get orchestrators.rhdh.redhat.com orchestrator-sample -o yaml
      
        platform:
          eventing:
            broker: {}
          monitoring:
            enabled: false
          namespace: sonataflow-infra
          resources:
            limits:
              cpu: 500m
              memory: 1Gi
            requests:
              cpu: 250m
              memory: 64Mi
       

       

      3. After deployment, change resource values in orchestrator cr

       

          resources:
            limits:
              cpu: 550m
              memory: 1Gi
            requests:
              cpu: 260m
              memory: 64Mi
       

      4. Check sonataflow platform resource

       

      oc get sonataflowplatforms.sonataflow.org sonataflow-platform -n sonataflow-infra -o json | jq '.spec.build.template'
       

      Actual results:

      Values never change (waited 5 minutes and even restarted orch operator controller pod)

      {
        "resources": {
          "limits": {
            "cpu": "500m",
            "memory": "1Gi"
          },
          "requests": {
            "cpu": "250m",
            "memory": "64Mi"
          }
        },
        "timeout": "0s"
      } 

      Expected results:
      Changes propagate 

              jubah@redhat.com Jennifer Ubah
              chadcrum Chad Crum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: