Plugin Compilation
Compile the Kubernetes NUMA affinity scheduling plugin, generate a Docker image and TAR image file.
- Obtain the source code of the Kubernetes NUMA affinity scheduling plugin.
git clone https://gitee.com/kunpeng_compute/k8s-scheduling-tuning-plugin.git
- Go to the k8s-scheduling-tuning-plugin directory and run the script for building the plugin.
cd /path/to/k8s-scheduling-tuning-plugin ./build.sh
In the preceding command, /path/to/k8s-scheduling-tuning-plugin indicates the path of the plugin source code. Replace it with the actual path.
After the plugin is built, check that a Docker image named numadj-nriplugin:latest has been generated and locate the numadj-nriplugin.tar image file in the bin directory.
- Check the Docker image list.
docker images
If the following information (example) is displayed, the build is successful.
1 2
REPOSITORY TAG IMAGE ID CREATED SIZE numadj-nriplugin latest 87e6aabb8e22 23 hours ago 97.2MB
Parent topic: Compilation