Rate This Document
Findability
Accuracy
Completeness
Readability

Plugin Deployment

Before deploying the plugin, create KAE virtual functions (VFs) on the compute nodes and then deploy the plugin on the control node.

  1. Run the following commands to create VFs:
    cd /path/to/cloud-native/Boostkit_CloudNative/K8S/deployments/kae-device-plugin
    python3 kae-init.py 4

    The following is an example of the command output. The command creates four VFs for each KAE device. You can set the number of VFs as required.

  2. Run the following commands on the control node to deploy the KAE device plugin:
    cd /path/to/cloud-native/Boostkit_CloudNative/K8S/deployments/
    kubectl apply -k kae-device-plugin/overlay/qos
  3. Check whether the plugin is successfully deployed.
    kubectl get pod

    An example command output is as follows:

  4. Check whether KAE devices have been managed.
    kubectl describe node <your compute node name>

    An example command output is as follows:

    If the KAE devices are available in the allocatable resources on the compute nodes, the devices have been successfully managed.