Monitoring the Red Hat OpenShift cluster provisioning by using the IBM Cloud CLI

You can monitor the Red Hat® OpenShift® cluster provisioning running a command using IBM Cloud CLI.

Procedure

  1. If not done yet, login in your IBM Cloud Account using your IBM Cloud API key.
    
    ibmcloud login --apikey $your_ibmcloud_api_key -q --no-region
    

    Where $your_ibmcloud_api_key is the API key that you have created in Creating your IBM Cloud API key.

  2. Run the following command to monitor the progress of the provisioning of the OpenShift cluster:
    
    ibmcloud oc cluster get --cluster $cluster_name --output json
    

    Where $cluster_name is the name of your cluster. For example: mycluster

    Sample output

Results

Your Red Hat OpenShift cluster will be ready when the state element value in the sample output is normal.

What to do next

You can now access the Red Hat OpenShift Container Platform Web Console.