Plugin Compilation
Before compiling the plugin, ensure that KAE devices are available and the KAE drivers have been installed in the cluster.
Preparations
- Obtain the software and code described in OS and Software Requirements.
- Run the following commands to check whether KAE devices exist on the compute nodes:
lspci | grep HPRE lspci | grep SEC lspci | grep ZIP
- Run the following command to check whether the KAE drivers have been installed on the compute nodes:
ls /sys/class/uacce
An example command output is as follows. If no command output is displayed, the KAE drivers may not be installed. In this case, install the KAE drivers as instructed in Installation Using Source Code.

Procedure
- Obtain the plugin source code.
git clone https://gitcode.com/boostkit/cloud-native.git
- Compile the plugin code to obtain an image.
cd /path/to/cloud-native make kae-device-plugin-docker
Before compiling the plugin, ensure that Go 1.25 or later has been installed.
- Check whether the image is compiled successfully.
docker images | grep kae-device-plugin
If the following information is displayed, the image is compiled successfully.

- Export the compiled image as kae-device-plugin.tar.
docker save kae-device-plugin:1.0 -o kae-device-plugin.tar
- Copy the exported TAR package to the compute nodes and run the following command to import the image:
- If the container runtime used by Kubernetes is containerd, run the following command to import the image:
1ctr -n k8s.io images import /path/to/kae-device-plugin.tar
- If the container runtime used by Kubernetes is Docker, run the following command to import the image:
1docker load -i /path/to/kae-device-plugin.tar
- If the container runtime used by Kubernetes is containerd, run the following command to import the image:
Parent topic: Cloud Native Scenario KAE Device Plugin User Guide
