forked from rojkov/intel-device-plugins-for-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
intel-vpu-plugin.yaml
63 lines (63 loc) · 1.49 KB
/
intel-vpu-plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-vpu-plugin
labels:
app: intel-vpu-plugin
spec:
selector:
matchLabels:
app: intel-vpu-plugin
template:
metadata:
labels:
app: intel-vpu-plugin
spec:
containers:
- name: intel-vpu-plugin
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: intel/intel-vpu-plugin:devel
imagePullPolicy: IfNotPresent
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- name: devion
mountPath: /dev/ion
readOnly: true
- name: devfs
mountPath: /dev/bus/usb
readOnly: true
- name: sysfs1
mountPath: /sys/bus/usb
readOnly: true
- name: sysfs2
mountPath: /sys/devices
readOnly: true
- name: tmpfs
mountPath: /var/tmp
- name: kubeletsockets
mountPath: /var/lib/kubelet/device-plugins
volumes:
- name: devion
hostPath:
path: /dev/ion
type: CharDevice
- name: devfs
hostPath:
path: /dev/bus/usb
- name: sysfs1
hostPath:
path: /sys/bus/usb
- name: sysfs2
hostPath:
path: /sys/devices
- name: tmpfs
hostPath:
path: /var/tmp
- name: kubeletsockets
hostPath:
path: /var/lib/kubelet/device-plugins