healthy-device-plugin
Simple template for k8s healthy device plugin project.
HEALTHY Manager is running as daemonset, and because of the RABC restriction and hydrid cluster, you need to do the following steps to make this daemonset run correctly.
- service account and clusterrole
kubectl create sa healthy-manager -n kube-system
kubectl create clusterrolebinding healthy-manager-role --clusterrole=cluster-admin --serviceaccount=kube-system:healthy-manager
scp /root/.kube/config ./ (当前目录为healthy-device-plugin的目录)
go mod tidy
make
docker build -t xxxx:xxx .
kubectl create -f daemonset.yaml