File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -232,14 +232,22 @@ master
232
232
233
233
We can test the plugin is working by deploying the provided example test images (dlb-libdlb-demo and dlb-dpdk-demo).
234
234
235
- 1 . Create a pod running unit tests off the local Docker image:
235
+ 1 . Build a Docker image and create a pod running unit tests off the local Docker image:
236
236
237
237
``` bash
238
+ $ make dlb-libdlb-demo
239
+ ...
240
+ Successfully tagged intel/dlb-libdlb-demo:devel
241
+
238
242
$ kubectl apply -f ${INTEL_DEVICE_PLUGINS_SRC} /demo/dlb-libdlb-demo-pod.yaml
239
243
pod/dlb-libdlb-demo-pod created
240
244
```
241
245
242
246
` ` ` bash
247
+ $ make dlb-dpdk-demo
248
+ ...
249
+ Successfully tagged intel/dlb-dpdk-demo:devel
250
+
243
251
$ kubectl apply -f ${INTEL_DEVICE_PLUGINS_SRC} /demo/dlb-dpdk-demo-pod.yaml
244
252
pod/dlb-dpdk-demo-pod created
245
253
` ` `
Original file line number Diff line number Diff line change @@ -263,9 +263,9 @@ To build the DPDK demo image:
263
263
264
264
``` bash
265
265
$ cd ${INTEL_DEVICE_PLUGINS_SRC}
266
- $ ./build-image.sh crypto-perf
266
+ $ make crypto-perf
267
267
...
268
- Successfully tagged crypto-perf:devel
268
+ Successfully tagged intel/ crypto-perf:devel
269
269
```
270
270
271
271
##### Deploy the pod
Original file line number Diff line number Diff line change @@ -144,10 +144,10 @@ We can test the plugin is working by deploying the provided example OpenVINO ima
144
144
#### Build a Docker image with an classification example
145
145
146
146
``` bash
147
- $ cd demo
148
- $ ./build-image.sh ubuntu-demo-openvino
147
+ $ cd $( go env GOPATH ) /src/github.com/intel/intel-device-plugins-for-kubernetes
148
+ $ make ubuntu-demo-openvino
149
149
...
150
- Successfully tagged ubuntu-demo-openvino:devel
150
+ Successfully tagged intel/ ubuntu-demo-openvino:devel
151
151
```
152
152
153
153
#### Create a job running unit tests off the local Docker image
Original file line number Diff line number Diff line change 14
14
containers :
15
15
-
16
16
name : intelvpu-demo-job-1
17
- image : ubuntu-demo-openvino:devel
17
+ image : intel/ ubuntu-demo-openvino:devel
18
18
imagePullPolicy : IfNotPresent
19
19
command : [ "/do_classification.sh" ]
20
20
resources :
You can’t perform that action at this time.
0 commit comments