Rate This Document
Findability
Accuracy
Completeness
Readability

Plugin Compilation

Compile the Kubernetes NUMA affinity scheduling plugin, generate a Docker image and TAR image file.

  1. Obtain the source code of the Kubernetes NUMA affinity scheduling plugin.
    git clone https://gitee.com/kunpeng_compute/k8s-scheduling-tuning-plugin.git
  2. 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.

  3. 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