File tree 6 files changed +24
-5
lines changed
overlays/namespace_kube-system
6 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 14
14
* [ Run the plugin as administrator] ( #run-the-plugin-as-administrator )
15
15
* [ Verify plugin registration] ( #verify-plugin-registration )
16
16
* [ 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 )
17
20
18
21
# Introduction
19
22
@@ -84,10 +87,11 @@ Successfully tagged intel/intel-vpu-plugin:devel
84
87
85
88
### Deploy plugin DaemonSet
86
89
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:
88
92
89
93
``` bash
90
- $ kubectl create -f ./ deployments/vpu_plugin/vpu_plugin.yaml
94
+ $ kubectl apply -k deployments/vpu_plugin
91
95
daemonset.apps/intel-vpu-plugin created
92
96
```
93
97
@@ -152,7 +156,7 @@ $ kubectl apply -f demo/intelvpu-job.yaml
152
156
job.batch/intelvpu-demo-job created
153
157
```
154
158
155
- ### Review the job's logs
159
+ ### Review the job logs
156
160
157
161
``` bash
158
162
$ kubectl get pods | fgrep intelvpu
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ apiVersion: apps/v1
2
2
kind : DaemonSet
3
3
metadata :
4
4
name : intel-vpu-plugin
5
- namespace : kube-system
6
5
labels :
7
6
app : intel-vpu-plugin
8
7
spec :
@@ -21,17 +20,20 @@ spec:
21
20
valueFrom :
22
21
fieldRef :
23
22
fieldPath : spec.nodeName
24
- image : intel-vpu-plugin:devel
23
+ image : intel/intel -vpu-plugin:devel
25
24
imagePullPolicy : IfNotPresent
26
25
securityContext :
27
26
readOnlyRootFilesystem : true
28
27
volumeMounts :
29
28
- name : devfs
30
29
mountPath : /dev/bus/usb
30
+ readOnly : true
31
31
- name : sysfs1
32
32
mountPath : /sys/bus/usb
33
+ readOnly : true
33
34
- name : sysfs2
34
35
mountPath : /sys/devices
36
+ readOnly : true
35
37
- name : tmpfs
36
38
mountPath : /var/tmp
37
39
- 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