Skip to content

Commit

Permalink
Merge pull request #49462 from my-git9/np-2678
Browse files Browse the repository at this point in the history
[zh-cn]sync user-namespaces.md
  • Loading branch information
k8s-ci-robot authored Jan 18, 2025
2 parents 432738d + 322288b commit 279aed3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ to `false`. For example:
```

<!--
1. Attach to the container and run `readlink /proc/self/ns/user`:
1. Add a debugging container and attach to it and run `readlink /proc/self/ns/user`:
-->
2. 挂接到容器上并执行 `readlink /proc/self/ns/user`
2. 运行一个调试容器,挂接此 Pod 上并执行 `readlink /proc/self/ns/user`

```shell
kubectl attach -it userns bash
kubectl debug userns -it --image=busybox
```

<!--
Expand Down

0 comments on commit 279aed3

Please # to comment.