blob: 9e753f6e44a7ce5c2e43016cb56961e730674083 (
plain)
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
|
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: intel-qat-kernel-plugin
labels:
app: intel-qat-kernel-plugin
spec:
selector:
matchLabels:
app: intel-qat-kernel-plugin
template:
metadata:
labels:
app: intel-qat-kernel-plugin
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: feature.node.kubernetes.io/pci-0b40_8086.present
operator: In
values:
- true
containers:
- name: intel-qat-kernel-plugin
securityContext:
privileged: true
image: integratedcloudnative/intel-qat-plugin:0.15.0
imagePullPolicy: IfNotPresent
command: ["/usr/local/bin/intel_qat_device_plugin", "-mode", "kernel"]
volumeMounts:
- name: devfs
mountPath: /dev
- name: etcdir
mountPath: /etc
readOnly: true
- name: kubeletsockets
mountPath: /var/lib/kubelet/device-plugins
volumes:
- name: etcdir
hostPath:
path: /etc
- name: kubeletsockets
hostPath:
path: /var/lib/kubelet/device-plugins
- name: devfs
hostPath:
path: /dev
|