Use
In this step, we will use the end user facing "developer hub" self service portal to deploy an instance of the GPU namespace.
- Navigate to Developer Hub
- Select the project where the template was previously created
- Click "Workspaces"
- Click "New Workspace"
- Enter a name for the workspace
- Click Save
- Click "Compute Instances"
- Click "New Compute Instance"
- Click "Select" on the "GPU-NaaS" service card
- Enter a name for the instance
- Select the Namespace Quota Size
- Click Deploy
After a few minutes, the instance will be deployed.
Utilize¶
Next, we will use use the newly deployed Namespace.
- Click the ZTKA Link URL from the output
- Execute the following command
kubectl describe resourcequotas
You will see output similar to the following showing the available GPUs
Name: tim-3220962261-resource-quota
Namespace: tim-3220962261
Resource Used Hard
-------- ---- ----
configmaps 1 5
limits.cpu 0 1
limits.memory 0 2Gi
limits.nvidia.com/gpu 0 1
persistentvolumeclaims 0 1073741824
pods 0 25
replicationcontrollers 0 1
requests.cpu 0 500m
requests.memory 0 1Gi
requests.nvidia.com/gpu 0 1
requests.storage 0 50Gi
services 0 5
services.loadbalancers 0 2
services.nodeports 0 2