Create Hardware Profile using CLI
This document describes how to create HardwareProfile resources using the command line and provides a sample YAML.
Prerequisites
- You have access to a Kubernetes cluster with the platform installed.
- You have configured
kubectlto communicate with your cluster. - You have a namespace where you have permissions to view or create
HardwareProfileresources (typically a cluster-scoped resource or in a specific admin namespace).
Create a HardwareProfile
Create a YAML file named gpu-high-performance-profile.yaml with the following content:
Then apply the YAML file to your cluster using kubectl:
Check HardwareProfile Status
You can check whether the HardwareProfile has been successfully created using the following command:
The output should look similar to this:
Once correctly applied, your Data Scientists will be able to select GPU High Performance when deploying their Inference Services using the UI, and the constraints specified in the profile will automatically validate and inject into the deployed workloads.