Accessing your cluster by using the console

You can access your console from a supported web browser.

Procedure

  1. Get the URL to access the Administration panel.

    You can get the IBM Cloud Pak console route for accessing the Administration panel by running the following command:

     oc get route -n <your-foundational-services-namespace>  <route name> -o jsonpath='{.spec.host}' && echo
    

    Replace <route name> with cpd or cp-console.

    The response is your <https://<cluster_address>. <cluster_address> is the IBM Cloud Pak console route.

    Following is a sample output:

     <route name>.apps.mycluster.mydomain.com
    

    Based on the example output, your console URL would be https://<route name_address>/zen/#/homepage.

  2. Access your cluster from a web browser. For a list of supported browsers, see Supported browsers.

  3. Log in to the console. You might have different authentication types available for you to select from to authenticate your user credentials.

    The default username to access the console is cpadmin.

    You can get the password for the cpadmin username by running the following command:

     oc -n <your-foundational-services-namespace> get secret platform-auth-idp-credentials -o jsonpath='{.data.admin_password}' | base64 -d && echo
    

    Following is a sample output:

     EwK9dj9fwPZHyHTyu9TyIgh9klZSzVsA
    

    Based on the example output, you would use EwK9dj9fwPZHyHTyu9TyIgh9klZSzVsA as the password.

    You can change the default password at any time. For more information, see Changing the administrator password.

    Note: Any user with access to the foundational-services namespace can retrieve this password since it’s stored in a secret in the foundational-services namespace. To minimize password exposure, allow limited users to access the foundational-services namespace.