Ascend Device Plugin

Application Scenario

Kubernetes needs to detect resource information for scheduling. Besides the basic CPU and memory data, the Kubernetes device plugin mechanism is necessary to define new resource types and customize solutions for resource discovery and reporting. Ascend Device Plugin, deployed on compute nodes, can provide resource discovery and reporting policies suitable for Ascend devices.

Component Function

Upstream and Downstream Dependencies

Figure 1 Upstream and downstream dependencies
  1. Obtain the processor type, quantity, and health status from the DCMI, or deliver a processor reset command.
  2. Reports the processor type, quantity, and status to kubelet.
  3. Report the processor type, quantity, and fault information to ClusterD.
  4. Inform Ascend Docker Runtime of the processor information selected by a scheduler via environment variables.
  5. Deliver the commands for starting and stopping training jobs to the container.