Connect using the OpenShift CLI
Procedure
- Retrieve the address of the API server:
apiServer=$(az aro show -g $RESOURCEGROUP -n $CLUSTER --query apiserverProfile.url -o tsv)
- Log in to the OpenShift cluster's API
server using this command:
oc login $apiServer -u kubeadmin -p <kubeadmin_password>
Where
<kubeadmin_password>
is the password forkubeadmin
, as determined in this topic. - Ensure that the ARO cluster has deployed properly:
- Issue this command:
oc get nodes
The
Status
column should displayReady
for all rows. - Issue this command:
oc get co
The
Available
column should displayTrue
for all rows.
- Issue this command: