Skip to content

RFE: "rosa wait" sub-command #3186

@ktdreyer

Description

@ktdreyer

Is there a built-in rosa wait cluster command? I find that Claude ends up writing little "wait" loops like this:

   for i in {1..20}; do
     STATE=$(rosa describe cluster -c kdreyer 2>/dev/null | grep "^State:" | awk '{print $2}')
     echo "$(date '+%H:%M:%S') - State: $STATE"
     if [[ "$STATE" == "ready" ]]; then
       echo "Control plane is ready!"
       break
     fi
     sleep 30
   done

It would be safer to have this as a built-in feature for rosa.

Looks like the test suite already has a decent WaitClusterStatus method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions