Merge pull request #49462 from my-git9/np-2678

[zh-cn]sync user-namespaces.md
pull/49481/head
Kubernetes Prow Robot 2025-01-17 16:04:34 -08:00 committed by GitHub
commit 279aed34a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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
```
<!--