Skip to content

Commit eeaae6f

Browse files
committed
[zh-cn]sync user-namespaces.md
Signed-off-by: xin.li <[email protected]>
1 parent bc241ff commit eeaae6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/zh-cn/docs/tasks/configure-pod-container/user-namespaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ to `false`. For example:
127127
```
128128

129129
<!--
130-
1. Add a debugging container and attach to it and run `readlink /proc/self/ns/user`:
130+
1. Exec into the pod and run `readlink /proc/self/ns/user`:
131131
-->
132-
2. 运行一个调试容器,挂接此 Pod 上并执行 `readlink /proc/self/ns/user`
132+
2. 进入一个 Pod 并运行 `readlink /proc/self/ns/user`
133133

134134
```shell
135-
kubectl debug userns -it --image=busybox
135+
kubectl exec -ti userns -- bash
136136
```
137137

138138
<!--

0 commit comments

Comments
 (0)