Getting Connected

In this activity, you will connect to your workshop environment and verify access to the OpenShift cluster and OpenShift AI console.

Log in to the OpenShift Console

Acting as: admin (cluster admin)
Log in to the OpenShift Console in the right panel: https://console-openshift-console.apps.cluster.example.com with username admin and password %password%.

Log in from the command line

  1. Open a terminal in your environment.

  2. Log in to the OpenShift cluster:

    oc login --insecure-skip-tls-verify $(oc whoami --show-server) -u admin -p %password%

    You should see Login successful and the list of accessible projects for the admin user.

  3. Verify your identity:

    oc whoami

    You should see the admin user.

Verify GPU resources

  1. Check that fake GPU nodes are available:

    oc get nodes -l nvidia.com/gpu.present=true

    You should see the fake GPU nodes - this can be one or more nodes depending on the number of nodes in the cluster. It will be three nodes in this workshop as we are running a three node compact cluster.

  2. Verify GPU resources are allocatable:

    oc describe node -l nvidia.com/gpu.present=true | grep -A 10 "Allocatable:"

    You should see nvidia.com/gpu in the allocatable resources.

Verify Kueue is running

  1. Check Kueue controller pods:

    oc get pods -n openshift-kueue-operator

    You should see the Kueue controller and operator pods.

  2. List the ClusterQueues:

    oc get clusterqueues -A

    You should see the default ClusterQueue.

Verify your namespaces

  1. Verify your the user namespaces exists (user1, user2):

    oc get project user-user1 user-user2

    You should see the user namespaces user-user1 and user-user2.

  2. Check LocalQueues in the user namespace:

    oc -n user-user1 get localqueues

    You should see default and unreserved LocalQueues.

Access OpenShift AI

  1. Navigate to the OpenShift AI dashboard in the right panel tabs.

  2. Verify you can see the Data Science Projects page.

    Data Science Projects page

Verify

You are ready to proceed when:
✓ Logged into the OpenShift Console
✓ oc whoami returns your username
✓ Fake GPU nodes are visible with allocatable GPU resources
✓ Kueue ClusterQueues exist
✓ OpenShift AI dashboard is accessible
✓ Your namespace has LocalQueues

End of activity

You are now connected and ready to begin the workshop modules.