Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29622

[CI] Fix Error When Scaling Existing Preview Pods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: ADDONS_10.10
    • Fix Version/s: ADDONS_10.10
    • Component/s: Aspera Connector
    • Environment:
      Kubernetes
    • Tags:
    • Sprint:
      nxApps 2020 Cycle 9
    • Story Points:
      2

      Description

      the Statefulset name is not the same between a PR and a master branch. we should retrieve the name dynamically rather than hardcoded it. it is also the case for the deployment name he can be changed in the future.

       

       

      15:21:21  + kubectl -n aspera-master scale deployment preview --replicas=0
      15:21:21  deployment.extensions/preview scaled
      15:21:21  + kubectl -n aspera-master scale statefulset preview-postgresql --replicas=0
      15:21:21  Error from server (NotFound): statefulsets.apps "preview-postgresql" not found

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: