inspect_gpu_pod
View GPU process and memory details in OpenShift pods using nvidia-smi to debug memory issues, verify GPU allocation, and check running processes.
Instructions
Run 'nvidia-smi' inside a GPU-enabled pod to view real-time process and memory details.
Why:
- Debug OOM: See exact memory usage per process.
- Verify allocation: Confirm the pod actually sees the GPU.
- Check processes: Identify zombie processes or unexpected workloads.
Args:
namespace: Pod namespace
pod_name: Pod name
Returns:
Output of nvidia-smi from inside the pod.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| pod_name | Yes |