Installing the command line tool

Procedure

  1. Complete the following steps to get started. GCP command line
  2. To verify installation, use the command-line tool to issue this command:
    oc whoami

    The expected output is similar to:

    system:admin

    Issue this command:

    oc get nodes

    The expected output is similar to:

    testgcp-p6kwp-master-0.c.aesthetic-frame-155821.internal         Ready    master   16h   v1.20.10+bbbc079
    testgcp-p6kwp-master-1.c.aesthetic-frame-155821.internal         Ready    master   16h   v1.20.10+bbbc079
    testgcp-p6kwp-master-2.c.aesthetic-frame-155821.internal         Ready    master   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-b-jrqx5.c.aesthetic-frame-155821.internal  Ready   worker   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-b-z2vsf.c.aesthetic-frame-155821.internal   Ready    worker   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-c-ckb8f.c.aesthetic-frame-155821.internal   Ready    worker   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-c-snbsw.c.aesthetic-frame-155821.internal   Ready    worker   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-d-csbk7.c.aesthetic-frame-155821.internal   Ready    worker   16h   v1.20.10+bbbc079
    testgcp-p6kwp-worker-d-jckh6.c.aesthetic-frame-155821.internal   Ready    worker   16h   v1.20.10+bbbc07
  3. To access the Red Hat OpenShift web console, open https://consoleopenshiftconsole.apps.testgcp.ibmguardiuminsights.com/ and use the username and password that is provided during installation.