Rate This Document
Findability
Accuracy
Completeness
Readability

Starting the DaoCloud Device Plugin

Start the DaoCloud device plugin on the master node. Before starting the plugin, obtain the TAR package of the video stream engine server for obtaining the audio and video data of the Kbox container.

Obtain the DemoVideoEngine.tar.gz software package based on Video Stream Engine, and upload the software package to the /home/k8s directory on the server.

  1. Decompress DemoVideoEngine.tar.gz.
    cd /home/k8s/
    tar -xvf DemoVideoEngine.tar.gz
  2. Create a label (va-device=va-sg100) on the specified Kubernetes node.
    kubectl label nodes $NODENAME va-device=va-sg100

    $NODENAME indicates the name of a worker node.

  3. Create a namespace va-plugin.
    kubectl create ns va-plugin
  4. Create a ConfigMap object named va-plugin and add the content of the config.yaml file to ConfigMap.
    cd /home/k8s/k8s/script
    kubectl create cm -n va-plugin va-plugin-configs --from-file=config=config.yaml
  5. Start the DaoCloud device plugin.
    cd /home/k8s/k8s/script
    kubectl create -f va-device-plugin.yaml

    You can run the kubectl delete -f va-device-plugin.yaml command to delete the DaoCloud device plugin.

  6. After the startup is complete, check whether the DaoCloud device plugin can run properly.
    kubectl get pods -A

    It is expected that the STATUS column of Pods whose names start with va-device-plugin-daemonset is Running.