This topic describes the following procedures for managing your Nvidia platform services:
Prerequisites
Before you begin, you must:
-
Ensure nodes provide an Nvidia GPU.
-
For AWS, select a GPU instance type from the Accelerated Computing section of the AWS instance types.
-
Run nodes on CentOS 7.
-
Perform the Node Deployment procedure.
Enable Nvidia Platform Service on Kommander
To enable Nvidia GPU support when installing Kommander, perform the following steps:
-
Create an installation configuration file:
-
Append the following to the apps section in the
install.yaml
file to enable Nvidia platform services. -
Install Kommander, using the configuration file you created:
Disable Nvidia Platform Service on Kommander
-
Delete all GPU workloads on the GPU nodes where the Nvidia platform service needs to be upgraded.
-
Delete the existing Nvidia platform service.
-
Wait for all Nvidia-related resources in the
Terminating
state to be cleaned up. You can check pod status with:
Upgrade Nvidia Platform Service on Kommander
Kommander can automatically upgrade the Nvidia GPU platform service. However, GPU workload must be drained before the Nvidia platform service can be upgraded.
To upgrade, follow the instructions to disable the service, and then the instructions to enable the service.
Nvidia GPU Monitoring
Kommander uses the NVIDIA Data Center GPU Manager to export GPU metrics towards Prometheus. By default, Kommander has a Grafana dashboard called NVIDIA DCGM Exporter Dashboard
to monitor GPU metrics. This GPU dashboard is shown in Kommander’s Grafana UI.
Troubleshooting
-
Determine if all Nvidia pods are in
Running
state, as expected: -
Collect the logs for any problematic Nvidia pods, if there are any crashing, returning errors, or flapping. For example:
-
To recover from this problem, you must restart all Nvidia platform service pods that are running on the SAME host. In the example below, all Nvidia resources are restarted on the node
ip-10-0-101-65.us-west-2.compute.internal
: -
To collect more debug information on the Nvidia platform service, run:
-
To validate metrics being produced and exported by the Nvidia DCGM exporter on a GPU node: