File tree Expand file tree Collapse file tree 6 files changed +24
-5
lines changed
overlays/namespace_kube-system Expand file tree Collapse file tree 6 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 1414 * [ Run the plugin as administrator] ( #run-the-plugin-as-administrator )
1515 * [ Verify plugin registration] ( #verify-plugin-registration )
1616 * [ Testing the plugin] ( #testing-the-plugin )
17+ * [ Build a Docker image with an classification example] ( #build-a-docker-image-with-an-classification-example )
18+ * [ Create a job running unit tests off the local Docker image] ( #create-a-job-running-unit-tests-off-the-local-docker-image )
19+ * [ Review the job logs] ( #review-the-job-logs )
1720
1821# Introduction
1922
@@ -84,10 +87,11 @@ Successfully tagged intel/intel-vpu-plugin:devel
8487
8588### Deploy plugin DaemonSet
8689
87- You can then use the example DaemonSet YAML file provided to deploy the plugin.
90+ You can then use the [ example DaemonSet YAML] ( ../../deployments/vpu_plugin/base/intel-vpu-plugin.yaml )
91+ file provided to deploy the plugin. The default kustomization that deploys the YAML as is:
8892
8993``` bash
90- $ kubectl create -f ./ deployments/vpu_plugin/vpu_plugin.yaml
94+ $ kubectl apply -k deployments/vpu_plugin
9195daemonset.apps/intel-vpu-plugin created
9296```
9397
@@ -152,7 +156,7 @@ $ kubectl apply -f demo/intelvpu-job.yaml
152156job.batch/intelvpu-demo-job created
153157```
154158
155- ### Review the job's logs
159+ ### Review the job logs
156160
157161``` bash
158162$ kubectl get pods | fgrep intelvpu
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apiVersion: apps/v1
22kind : DaemonSet
33metadata :
44 name : intel-vpu-plugin
5- namespace : kube-system
65 labels :
76 app : intel-vpu-plugin
87spec :
@@ -21,17 +20,20 @@ spec:
2120 valueFrom :
2221 fieldRef :
2322 fieldPath : spec.nodeName
24- image : intel-vpu-plugin:devel
23+ image : intel/intel -vpu-plugin:devel
2524 imagePullPolicy : IfNotPresent
2625 securityContext :
2726 readOnlyRootFilesystem : true
2827 volumeMounts :
2928 - name : devfs
3029 mountPath : /dev/bus/usb
30+ readOnly : true
3131 - name : sysfs1
3232 mountPath : /sys/bus/usb
33+ readOnly : true
3334 - name : sysfs2
3435 mountPath : /sys/devices
36+ readOnly : true
3537 - name : tmpfs
3638 mountPath : /var/tmp
3739 - name : kubeletsockets
Original file line number Diff line number Diff line change 1+ resources :
2+ - intel-vpu-plugin.yaml
Original file line number Diff line number Diff line change 1+ bases :
2+ - base
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : DaemonSet
3+ metadata :
4+ name : intel-vpu-plugin
5+ namespace : kube-system
Original file line number Diff line number Diff line change 1+ bases :
2+ - ../../base
3+ patches :
4+ - add-namespace-kube-system.yaml
You can’t perform that action at this time.
0 commit comments