forked from rojkov/intel-device-plugins-for-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
intel-qat-plugin.yaml
48 lines (48 loc) · 1.17 KB
/
intel-qat-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
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-qat-plugin
labels:
app: intel-qat-plugin
spec:
selector:
matchLabels:
app: intel-qat-plugin
template:
metadata:
labels:
app: intel-qat-plugin
spec:
containers:
- name: intel-qat-plugin
image: intel/intel-qat-plugin:devel
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
imagePullPolicy: IfNotPresent
volumeMounts:
- name: devdir
mountPath: /dev/vfio
readOnly: true
- name: debugfsdir
mountPath: /sys/kernel/debug
readOnly: true
- name: pcidir
mountPath: /sys/bus/pci
- name: kubeletsockets
mountPath: /var/lib/kubelet/device-plugins
volumes:
- name: devdir
hostPath:
path: /dev/vfio
- name: debugfsdir
hostPath:
path: /sys/kernel/debug
- name: pcidir
hostPath:
path: /sys/bus/pci
- name: kubeletsockets
hostPath:
path: /var/lib/kubelet/device-plugins
nodeSelector:
kubernetes.io/arch: amd64