mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
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:
|
|
containers:
|
|
- name: intel-qat-kernel-plugin
|
|
securityContext:
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
privileged: true
|
|
image: intel/intel-qat-plugin:devel
|
|
imagePullPolicy: IfNotPresent
|
|
args: ["-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
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|