You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/templates/docker-in-workspaces.md
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -181,39 +181,39 @@ Prior to completing the steps below, please review the following Podman document
181
181
1. Enable[smart-device-manager](https://gitlab.com/arm-research/smarter/smarter-device-manager#enabling-access) to securely expose a FUSE devices to pods.
182
182
183
183
```sh
184
-
cat<<EOF | kubectl create -f -
185
-
apiVersion: apps/v1
186
-
kind: DaemonSet
187
-
metadata:
184
+
cat<<EOF | kubectl create -f -
185
+
apiVersion: apps/v1
186
+
kind: DaemonSet
187
+
metadata:
188
188
name: fuse-device-plugin-daemonset
189
189
namespace: kube-system
190
-
spec:
190
+
spec:
191
191
selector:
192
-
matchLabels:
192
+
matchLabels:
193
193
name: fuse-device-plugin-ds
194
194
template:
195
-
metadata:
195
+
metadata:
196
196
labels:
197
-
name: fuse-device-plugin-ds
198
-
spec:
197
+
name: fuse-device-plugin-ds
198
+
spec:
199
199
hostNetwork: true
200
200
containers:
201
-
-image: soolaugust/fuse-device-plugin:v1.0
202
-
name:fuse-device-plugin-ctr
203
-
securityContext:
201
+
-name:fuse-device-plugin-ctr
202
+
image: soolaugust/fuse-device-plugin:v1.0
203
+
securityContext:
204
204
allowPrivilegeEscalation: false
205
205
capabilities:
206
-
drop: ["ALL"]
207
-
volumeMounts:
208
-
- name: device-plugin
206
+
drop: ["ALL"]
207
+
volumeMounts:
208
+
- name: device-plugin
209
209
mountPath: /var/lib/kubelet/device-plugins
210
210
volumes:
211
211
- name: device-plugin
212
-
hostPath:
212
+
hostPath:
213
213
path: /var/lib/kubelet/device-plugins
214
214
imagePullSecrets:
215
215
- name: registry-secret
216
-
EOF
216
+
EOF
217
217
```
218
218
219
219
2. Be sure to label your nodes toenable smarter-device-manager: