Following steps are required to deploy the Kubernetes device plugin when the user wants to use the name customize function:
Step 1. Create config file NameCustomize.json on an control-plane node (or any Kubernetes node with Kubectl access)
Step 2. Create Kubernetes configmap device-name-config
$ kubectl create configmap k8s-device-plugin-configmap --from-file=[file path NameCustomize.json] -n kube-systemStep 3. Remove perivous device plugin
$ kubectl delete daemonset device-plugin-daemonset -n kube-systemStep 4. Create device plugin yaml file k8s-device-plugin.yaml with configmap device-name-config mounted
Step 5. Deploy new device plugin
$ kubectl create -f k8s-device-plugin.yaml