Skip to content

docs: Remove misleading info about SYS_PTRACE #50672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Process namespace sharing is enabled using the `shareProcessNamespace` field of
```

You can signal processes in other containers. For example, send `SIGHUP` to
`nginx` to restart the worker process. This requires the `SYS_PTRACE` capability.
`nginx` to restart the worker process.

```shell
# run this inside the "shell" container
Expand Down
4 changes: 0 additions & 4 deletions content/en/examples/pods/share-process-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ spec:
- name: shell
image: busybox:1.28
command: ["sleep", "3600"]
securityContext:
capabilities:
add:
- SYS_PTRACE
stdin: true
tty: true