-
Notifications
You must be signed in to change notification settings - Fork 4
/
v4l2l-device-plugin.yaml
39 lines (39 loc) · 1008 Bytes
/
v4l2l-device-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
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: k8s-device-plugin-v4l2l
namespace: kube-system
spec:
selector:
matchLabels:
name: k8s-device-plugin-v4l2l
template:
metadata:
labels:
name: k8s-device-plugin-v4l2l
spec:
priorityClassName: system-node-critical
containers:
- image: mpreu/k8s-device-plugin-v4l2loopback:latest
args: ["-log-level", "debug"]
imagePullPolicy: IfNotPresent
name: k8s-device-plugin-v4l2l
securityContext:
privileged: true
capabilities:
drop: ["ALL"]
resources:
volumeMounts:
# - name: dev
# mountPath: /dev
- name: device-plugin
mountPath: /var/lib/kubelet/device-plugins
volumes:
# - name: dev
# hostPath:
# path: /dev
- name: device-plugin
hostPath:
path: /var/lib/kubelet/device-plugins
updateStrategy:
type: RollingUpdate