Accessing your cluster in ROSA
There are multiple ways to interact with your cluster. You can connect to it via the command-line-interface (CLI) or via the Web Console. We will review both options below.
What will you learn?
How to access your cluster via the Web Console
How to access your cluster via the CLI
Access the cluster via the console
- Enter the console URL into your web browser. If you need to retrieve it you can run:
rosa describe cluster -c <cluster-name>
| grep Console
- Click on your identity provider (IdP). In this learning path, we created “rosa-github.”
- Enter your GitHub user credentials (or other credentials if not using GitHub).
- You should now be logged in. If you've followed this learning path in order, you will be a cluster-admin and should see a web console like the following with the "Administrator" panel visible.
Access the cluster via the CLI
In order to access the cluster via the CLI you must have the
oc CLI installed, which was completed in the prerequisites for this learning path.
- Log into the web console as stated above.
- Click on your username in the top right corner
- Click on “Copy Login Command”
- This will open a new tab with a choice of IdP. Click on the IdP you want to use, in our case, “rosa-github.”
- A new tab will open. Click on “Display token.”
- You will see a page like the following:
oc logincommand and paste it into your terminal. Press enter.
- We can confirm that we are now the user we logged in with by running:
oc whoami $ oc whoami rosa-user
- We can now start using our cluster.
You are now ready to manage worker nodes.
This learning path is for operations teams or system administrators
Developers may want to check out developers.redhat.com.