-
Notifications
You must be signed in to change notification settings - Fork 10
/
default-daemonsets.yml
57 lines (54 loc) · 1.41 KB
/
default-daemonsets.yml
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
50
51
52
53
54
55
56
57
# HostProcess DaemonSets for the MCDM device plugin and the WDDM device plugin, using default settings
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: device-plugin-mcdm
spec:
selector:
matchLabels:
app: device-plugin-mcdm
template:
metadata:
labels:
app: device-plugin-mcdm
spec:
nodeSelector:
kubernetes.io/os: 'windows'
kubernetes.io/arch: 'amd64'
node.kubernetes.io/windows-build: '10.0.20348'
securityContext:
windowsOptions:
hostProcess: true
runAsUserName: "NT AUTHORITY\\SYSTEM"
hostNetwork: true
containers:
- name: device-plugin-mcdm
image: "index.docker.io/tensorworks/mcdm-device-plugin:0.0.1"
imagePullPolicy: Always
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: device-plugin-wddm
spec:
selector:
matchLabels:
app: device-plugin-wddm
template:
metadata:
labels:
app: device-plugin-wddm
spec:
nodeSelector:
kubernetes.io/os: 'windows'
kubernetes.io/arch: 'amd64'
node.kubernetes.io/windows-build: '10.0.20348'
securityContext:
windowsOptions:
hostProcess: true
runAsUserName: "NT AUTHORITY\\SYSTEM"
hostNetwork: true
containers:
- name: device-plugin-wddm
image: "index.docker.io/tensorworks/wddm-device-plugin:0.0.1"
imagePullPolicy: Always