-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2
-
False
-
None
-
False
-
No
-
-
-
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
```
```
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