mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
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:
|
|
automountServiceAccountToken: false
|
|
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
|
|
allowPrivilegeEscalation: false
|
|
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
|