Lab 10.1 - Identify and Accessing Web Console

1. Login as the admin user

oc login -u admin -p rahasia https://api.openshift.podX.io:6443

2. Switch to the default project

oc project default

3. List the routes in the openshift-console namespace. Identify the console host and port.

oc get routes -n openshift-console

4. Open a web browser and navigate to the console-openshift-console.apps.openshift.podX.io

5. Click Advanced to reveal the untrusted certificate message, and then click Add Exception. In the Add Security Exception dialog box, click Confirm Security Exception.

6. In the login panel, select my_htpasswd_provider as a identity provider.

7. Type user:admin, password: rahasia

8. See the result

Daftar Materi