Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-6202

Allow for specifying lifetime for rosa clusters

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Testing
    • None
    • RHOAM Sprint 50

      WHY
      Currently it is set for 24h by default which is not enough

      WHAT
      Allow for specifying lifetime for rosa clusters.

      HOW
      Install latest rosa cli and see if it is possible to be done as part of cluster creation (it was not at the time of writing this):
      `rosa create cluster --help`

      Implement a function in ./var folder to extend the lifetime of existing cluster and use it in rosa pipelines

      ```
      ocm patch /api/clusters_mgmt/v1/clusters/"$CLUSTERID" --body=patch_date.json
      ```
      where patch_date.json can look similar to
      ```

      { "expiration_timestamp": "2023-12-06T21:30:56.320246Z" }

      ```
      Introduce a new parameter for rosa pipelines. Make sure reasonable defaults are used. Increase to 160h for release-testing-prepare pipeline

      TESTS
      N/A

      DONE

      • rosa pipelines allow for specifying cluster lifespan
      • 160h value used if rosa pipelines are triggered via release-testing-prepare pipeline

              trepel Tomas Repel
              trepel Tomas Repel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: