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: |
Log in from the command line
-
Open a terminal in your environment.
-
Log in to the OpenShift cluster:
oc login --insecure-skip-tls-verify $(oc whoami --show-server) -u admin -p %password%You should see
Login successfuland the list of accessible projects for the admin user. -
Verify your identity:
oc whoamiYou should see the admin user.
Verify GPU resources
-
Check that fake GPU nodes are available:
oc get nodes -l nvidia.com/gpu.present=trueYou 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.
-
Verify GPU resources are allocatable:
oc describe node -l nvidia.com/gpu.present=true | grep -A 10 "Allocatable:"You should see
nvidia.com/gpuin the allocatable resources.
Verify Kueue is running
-
Check Kueue controller pods:
oc get pods -n openshift-kueue-operatorYou should see the Kueue controller and operator pods.
-
List the ClusterQueues:
oc get clusterqueues -AYou should see the
defaultClusterQueue.
Verify your namespaces
-
Verify your the user namespaces exists (user1, user2):
oc get project user-user1 user-user2You should see the user namespaces
user-user1anduser-user2. -
Check LocalQueues in the user namespace:
oc -n user-user1 get localqueuesYou should see
defaultandunreservedLocalQueues.
