You can monitor the Red Hat® OpenShift® cluster provisioning running a command using IBM Cloud
CLI.
Procedure
- 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.
- 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
{
"location": "Washington D.C.",
"dataCenter": "wdc04",
"multiAzCapable": true,
"vlans": [],
"worker_vlans": [],
"workerZones": [
"wdc04"
],
"id": "ca2k1qgw0ssoqqbpmh0g",
"name": "mycluster",
"region": "us-east",
"state": "normal",
"status": "All Workers Normal"
}
|
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.