-
Notifications
You must be signed in to change notification settings - Fork 1
/
daemonset.yaml
37 lines (37 loc) · 1003 Bytes
/
daemonset.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
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: brightbox-volume-device-plugin
namespace: kube-system
spec:
selector:
matchLabels:
name: brightbox-volume-device-plugin
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
name: brightbox-volume-device-plugin
spec:
containers:
- name: brightbox-volume-device-plugin
image: brightbox/brightbox-volume-device-plugin:latest
args: ["-v", "4", "-logtostderr"]
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
volumeMounts:
- name: device-plugin
mountPath: /var/lib/kubelet/device-plugins
- name: disk-details
mountPath: /dev/disk
readOnly: true
volumes:
- name: device-plugin
hostPath:
path: /var/lib/kubelet/device-plugins
- name: disk-details
hostPath:
path: /dev/disk