Skip to content

Commit

Permalink
Minor fix: change attach by debug CLI command, fixes kubernetes#48675
Browse files Browse the repository at this point in the history
  • Loading branch information
seifrajhi authored Nov 10, 2024
1 parent 753021a commit c1c1334
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ to `false`. For example:
kubectl apply -f https://k8s.io/examples/pods/user-namespaces-stateless.yaml
```

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`:

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

Run this command:
Expand Down

0 comments on commit c1c1334

Please sign in to comment.