Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite951778

Browse files
authored
fix: indentation in rootless podman docs (#7577)
* fix: indentation in rootless podman docs* fmt
1 parent75b0643 commite951778

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

‎docs/templates/docker-in-workspaces.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -181,39 +181,39 @@ Prior to completing the steps below, please review the following Podman document
181181
1. Enable[smart-device-manager](https://gitlab.com/arm-research/smarter/smarter-device-manager#enabling-access) to securely expose a FUSE devices to pods.
182182

183183
```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:
188188
name: fuse-device-plugin-daemonset
189189
namespace: kube-system
190-
spec:
190+
spec:
191191
selector:
192-
matchLabels:
192+
matchLabels:
193193
name: fuse-device-plugin-ds
194194
template:
195-
metadata:
195+
metadata:
196196
labels:
197-
name: fuse-device-plugin-ds
198-
spec:
197+
name: fuse-device-plugin-ds
198+
spec:
199199
hostNetwork: true
200200
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:
204204
allowPrivilegeEscalation: false
205205
capabilities:
206-
drop: ["ALL"]
207-
volumeMounts:
208-
- name: device-plugin
206+
drop: ["ALL"]
207+
volumeMounts:
208+
- name: device-plugin
209209
mountPath: /var/lib/kubelet/device-plugins
210210
volumes:
211211
- name: device-plugin
212-
hostPath:
212+
hostPath:
213213
path: /var/lib/kubelet/device-plugins
214214
imagePullSecrets:
215215
- name: registry-secret
216-
EOF
216+
EOF
217217
```
218218
219219
2. Be sure to label your nodes toenable smarter-device-manager:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp